1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-08 12:29:04 +00:00

reg3:: changed the remaining refs to adjacent_dirs to dirdist; S7 to c->type

This commit is contained in:
Zeno Rogue
2021-07-11 16:18:04 +02:00
parent e9de3ac7d5
commit 7aec4c3cf1
3 changed files with 11 additions and 10 deletions

View File

@@ -531,6 +531,7 @@ EX int celldistAlt(cell *c) {
if(IRREGULAR) return irr::celldist(c, true);
#endif
if(ctof(c)) return c->master->alt->distance;
if(reg3::in()) return c->master->alt->distance;
#if CAP_GP
if(GOLDBERG) return gp::compute_dist(c, celldistAlt);
if(INVERSE) {