1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-10 13:29:02 +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

@@ -1085,7 +1085,7 @@ void buildBigStuff(cell *c, cell *from) {
createAlternateMap(c, 2, hsA);
if(c->land == laPalace && ctof(c) && !princess::generating && !shmup::on && multi::players == 1 &&
(princess::forceMouse ? (from && from->pathdist != INF) :
(princess::forceMouse ? (from && from->pathdist != PINFD) :
(hrand(2000) < (peace::on ? 100 : 20))) &&
!c->master->alt &&
(princess::challenge || kills[moVizier] || peace::on) && !tactic::on && !yendor::on) {