1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 17:10:36 +00:00

changed constant 3 to caflWarp

This commit is contained in:
Zeno Rogue 2022-03-27 11:09:33 +02:00
parent fbb75309d0
commit 78ddda1b4f

View File

@ -117,7 +117,7 @@ EX eGravity get_move_gravity(cell *c, cell *c2) {
} }
EX bool isWarped(cell *c) { EX bool isWarped(cell *c) {
return isWarpedType(c->land) || (c->land == laCanvas && canvasfloor == 3) || (!inmirrororwall(c->land) && (items[itOrb37] && c->cpdist <= 4)); return isWarpedType(c->land) || (c->land == laCanvas && canvasfloor == caflWarp) || (!inmirrororwall(c->land) && (items[itOrb37] && c->cpdist <= 4));
} }
EX bool nonAdjacent(cell *c, cell *c2) { EX bool nonAdjacent(cell *c, cell *c2) {