no more trolls leaving walls in freefall

This commit is contained in:
Zeno Rogue committed 2019-09-12 22:38:39 +02:00
1 parent 8756b8e27a
commit 47e43f974c
1 file changed
+3
+3
View File
@@ -1552,6 +1552,8 @@ bool petrify(cell *c, eWall walltype, eMonster m) {
if(walltype == waIcewall && !isIcyLand(c->land))
return false;
if(c->land == laWestWall) return false;
if(isWateryOrBoat(c) && c->land == laWhirlpool) {
c->wall = waSea;
return false;
@@ -1801,6 +1803,7 @@ bool snakepile(cell *c, eMonster m) {
if(c->wall == waSea && c->land == laOcean) {
c->land = laBrownian, c->landparam = 0;
}
if(c->land == laWestWall) return false;
if(c->land == laBrownian) {
if(c->wall == waNone) {
#if CAP_COMPLEX2