mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-08 12:38:17 +00:00
rock snakes cover items
This commit is contained in:
parent
e77a126c81
commit
b169441735
1
game.cpp
1
game.cpp
@ -1674,6 +1674,7 @@ bool earthWall(cell *c) {
|
||||
}
|
||||
|
||||
bool snakepile(cell *c, eMonster m) {
|
||||
if(c->item && c->wall != waRed3) c->item = itNone;
|
||||
if(c->wall == waRed1 || c->wall == waOpenGate) c->wall = waRed2;
|
||||
else if(c->wall == waRed2) c->wall = waRed3;
|
||||
else if(doesFall(c)) return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user