1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-29 00:19:04 +00:00

Illusions ignore plates (does not change much?)

This commit is contained in:
Zeno Rogue
2018-02-12 00:06:11 +01:00
parent c8b3c7aaf0
commit bcf5e984ad
3 changed files with 4 additions and 5 deletions

View File

@@ -1212,7 +1212,7 @@ namespace mirror {
else if(c2->wall == waSmallTree)
c2->wall = waNone;
if(fwd) {
if(noMirrorOn(c2) || !passable(c2, c, P_MONSTER | P_MIRROR | P_MIRRORWALL)) {
if(noMirrorOn(c2) || !passable_for(moMimic, c2, c, P_MONSTER | P_MIRROR | P_MIRRORWALL)) {
survive = false;
continue;
}