mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
fixup to celldistAlt (masterAlt)
This commit is contained in:
parent
3804d2bfb7
commit
59a36709f8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user