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

removed some more incorrect instances of pathdist

This commit is contained in:
Zeno Rogue
2018-06-28 11:55:59 +02:00
parent c6412511f5
commit ed8ff63ce4
3 changed files with 9 additions and 16 deletions

View File

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