mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
no more trolls leaving walls in freefall
This commit is contained in:
parent
8756b8e27a
commit
47e43f974c
3
game.cpp
3
game.cpp
@ -1552,6 +1552,8 @@ bool petrify(cell *c, eWall walltype, eMonster m) {
|
|||||||
if(walltype == waIcewall && !isIcyLand(c->land))
|
if(walltype == waIcewall && !isIcyLand(c->land))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if(c->land == laWestWall) return false;
|
||||||
|
|
||||||
if(isWateryOrBoat(c) && c->land == laWhirlpool) {
|
if(isWateryOrBoat(c) && c->land == laWhirlpool) {
|
||||||
c->wall = waSea;
|
c->wall = waSea;
|
||||||
return false;
|
return false;
|
||||||
@ -1801,6 +1803,7 @@ bool snakepile(cell *c, eMonster m) {
|
|||||||
if(c->wall == waSea && c->land == laOcean) {
|
if(c->wall == waSea && c->land == laOcean) {
|
||||||
c->land = laBrownian, c->landparam = 0;
|
c->land = laBrownian, c->landparam = 0;
|
||||||
}
|
}
|
||||||
|
if(c->land == laWestWall) return false;
|
||||||
if(c->land == laBrownian) {
|
if(c->land == laBrownian) {
|
||||||
if(c->wall == waNone) {
|
if(c->wall == waNone) {
|
||||||
#if CAP_COMPLEX2
|
#if CAP_COMPLEX2
|
||||||
|
Loading…
Reference in New Issue
Block a user