mirror of
https://codeberg.org/noisytoot/notnotdnethack.git
synced 2025-08-07 21:25:26 +01:00
Merge pull request #1706 from NeroOneTrueKing/patch-vision-disn-fix
Fix disintegration blasts unblocking vision on undug tiles
This commit is contained in:
commit
ff74fa15e8
1 changed files with 3 additions and 1 deletions
|
@ -3968,19 +3968,21 @@ struct zapdata * zapdata; /* lots of flags and data about the zap */
|
|||
lev->doormask = D_NODOOR;
|
||||
}
|
||||
range -= 2;
|
||||
unblock_point(sx, sy);
|
||||
}
|
||||
else if (IS_TREE(lev->typ)) {
|
||||
lev->typ = ROOM;
|
||||
if (youagr && u.sealsActive&SEAL_EDEN) unbind(SEAL_EDEN, TRUE);
|
||||
range -= 1;
|
||||
unblock_point(sx, sy);
|
||||
}
|
||||
else { /* IS_ROCK but not IS_WALL */
|
||||
lev->typ = CORR;
|
||||
range -= 3;
|
||||
unblock_point(sx, sy);
|
||||
}
|
||||
/* vision */
|
||||
vision_full_recalc = TRUE;
|
||||
unblock_point(sx, sy);
|
||||
}
|
||||
if (shopdoor || shopwall)
|
||||
pay_for_damage(shopdoor ? "destroy" : "dig into", FALSE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue