1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 05:57:37 +00:00

compare pathdist with PINFD, not INF

This commit is contained in:
Zeno Rogue
2018-02-10 18:20:12 +01:00
parent bfd17a57c6
commit e2531fb891
2 changed files with 2 additions and 2 deletions

View File

@@ -330,7 +330,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
c->monst = moVizier;
c->hitpoints = palaceHP();
}
else if(princess::forceVizier && from->pathdist != INF) {
else if(princess::forceVizier && from->pathdist != PINFD) {
c->monst = moVizier;
c->hitpoints = palaceHP();
princess::forceVizier = false;