1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-13 12:17:10 +00:00

fixed spacedist and worms on sphere

This commit is contained in:
Zeno Rogue
2022-12-09 02:30:12 +01:00
parent 1bb8056e0d
commit 8c601bb575
3 changed files with 5 additions and 4 deletions

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; }