1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

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-04 16:36:42 +01:00
parent 0c0ca95897
commit 67ff42c37a

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;