los:: adjacent thumpers and barrels no longer block visibility

This commit is contained in:
Zeno Rogue
2026-08-02 10:06:03 +02:00
parent 5d6483886f
commit 36a53afa5a
+1 -1
View File
@@ -958,7 +958,7 @@ EX bool blocks_sight(cell *c, cell *last) {
return blocks_sight(cw2.at, cw2.cpeek());
}
if(c->monst == passive_switch) return true;
if(among(c->wall, waBigStatue, waMirror, waCloud)) return c->cpdist > 1;
if(among(c->wall, waBigStatue, waMirror, waCloud, waThumperOff, waThumperOn, waExplosiveBarrel)) return c->cpdist > 1;
if(snakelevel(c) == 3 && !(c->cpdist == 1 && snakelevel(cwt.at) >= 2)) return true;
return (isWall(c) && !among(c->wall, waFreshGrave, waAncientGrave, waClosedGate, waMirrorWall, waSmallTree, waShrub)) || thruVine(c, last);
}