fixed the game not determining the land correctly for Orb generation purposes in Haunted Woods border, mercury river bridges, and Warped Sea

This commit is contained in:
Zeno Rogue
2021-02-07 22:55:10 +01:00
parent 0c0ca95897
commit 67ff42c37a
+3
View File
@@ -431,6 +431,9 @@ extern cellwalker cwt;
EX eLand getPrizeLand(cell *c IS(cwt.at)) {
eLand l = c->land;
if(isElemental(l)) l = laElementalWall;
if(isHaunted(l)) l = laHaunted;
if(l == laMercuryRiver) l = laTerracotta;
if(l == laWarpSea) l = laWarpCoast;
if(l == laPalace && princess::dist(c) < OUT_OF_PRISON)
l = laPrincessQuest;
return l;