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

rock snakes cover items

This commit is contained in:
Zeno Rogue 2018-02-13 20:22:16 +01:00
parent e77a126c81
commit b169441735

View File

@ -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;