1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

Orb of Matter no longer 'works' in the Free Fall

This commit is contained in:
Zeno Rogue 2019-06-13 17:10:47 +02:00
parent 96bd13aec9
commit cecd362915
2 changed files with 3 additions and 2 deletions

View File

@ -264,8 +264,8 @@ eOrbLandRelation getOLR(eItem it, eLand l) {
return olrDangerous;
if(it == itOrbMatter)
if(l == laCaves || l == laEmerald || l == laAlchemist || l == laCaribbean ||
l == laMinefield || l == laCocytus) return olrUseless;
if(among(l, laCaves, laEmerald, laAlchemist, laCaribbean, laMinefield, laCocytus, laWestWall))
return olrUseless;
if(l == laPrincessQuest)
if(among(it, itOrbAether, itOrbFlash, itOrbTeleport, itOrbSummon, itOrbFreedom, itOrbFriend, itOrbPhasing))

View File

@ -829,6 +829,7 @@ void summonAt(cell *dest) {
}
bool tempWallPossibleAt(cell *dest) {
if(dest->land == laWestWall) return false;
if(dest->monst || (dest->item && !itemHidden(dest))) return false;
return dest->wall == waChasm || isWatery(dest) || dest->wall == waNone ||
dest->wall == waTempBridge;