mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-27 19:14:30 +00:00
fixup to celldistAlt (masterAlt)
This commit is contained in:
1 parent
3804d2bfb7
commit
59a36709f8
1 file changed
+1
-1
+1
-1
@@ -1676,7 +1676,7 @@ EX void buildCamelot(cell *c) {
|
||||
|
||||
EX int masterAlt(cell *c) {
|
||||
#if MAXMDIM >= 4
|
||||
if(WDIM == 3 && hyperbolic) return reg3::altdist(c->master);
|
||||
if(WDIM == 3 && hyperbolic && !reg3::in_rule()) return reg3::altdist(c->master);
|
||||
#endif
|
||||
return c->master->alt->distance;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user