mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 02:10:34 +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) {
|
EX int masterAlt(cell *c) {
|
||||||
#if MAXMDIM >= 4
|
#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
|
#endif
|
||||||
return c->master->alt->distance;
|
return c->master->alt->distance;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user