fixed spacedist and worms on sphere

This commit is contained in:
Zeno Rogue
2022-12-09 02:33:15 +01:00
parent 1bb8056e0d
commit 8c601bb575
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ public:
virtual transmatrix spin_to(cell *c, int d, ld bonus=0);
virtual transmatrix spin_from(cell *c, int d, ld bonus=0);
virtual double spacedist(cell *c, int i) { return hdist0(tC0(adj(c, i))); }
virtual double spacedist(cell *c, int i) { return hdist(tile_center(), adj(c, i) * tile_center()); }
virtual bool strict_tree_rules() { return false; }