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

do not spill slime through mirror walls

This commit is contained in:
Zeno Rogue 2017-09-01 22:30:17 +02:00
parent f725b3c823
commit b3fe4d2698

View File

@ -1321,7 +1321,8 @@ void prespill(cell* c, eWall t, int rad, cell *from) {
c->wall == waTempFloor || c->wall == waTempBridge ||
c->wall == waSandstone || c->wall == waCharged || c->wall == waGrounded ||
c->wall == waMetal || c->wall == waSaloon || c->wall == waFan ||
c->wall == waBarrowDig || c->wall == waBarrowWall)
c->wall == waBarrowDig || c->wall == waBarrowWall ||
c->wall == waMirrorWall)
return;
// these walls block further spilling
if(c->wall == waCavewall || cellUnstable(c) || c->wall == waSulphur ||