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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user