fix B14011: vault wall repair
From the newsgroup: traps created on the location of dug out vault
walls would be left in place when/if the vault guard repaired the walls.
Since known traps get precedence over walls when drawing the map, this
produced a display oddity in addition to the topological one.
It also appears that monsters in affected spots wouldn't be handled
correctly if they happened to be in a direct horizontal or vertical line
with the guard. I don't know whether that matches any of the assorted
unresolved old vault bugs.
This eliminates a chunk of redundant code by merging two loops.
This commit is contained in:
@@ -295,6 +295,7 @@ cancelled yellow lights should not explode against other monsters, as well as
|
||||
becoming confused, eg from nausia, while reading a spellbook should result
|
||||
in the usual confusion effects
|
||||
level teleports should not be controlled if you're confused
|
||||
vault wall repair should remove traps subsequently created at affected spots
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user