Fix launched object accessing a deleted trap

In launch_obj, the code first got the trap, then called ohitmon
(which can delete the trap by doing mondied -> fill_pit ->
flooreffects -> deltrap), then after that used the trap variable.
This commit is contained in:
Pasi Kallinen
2019-10-13 20:40:54 +03:00
parent 1f7095e226
commit 346ebbce10
2 changed files with 2 additions and 2 deletions

View File

@@ -183,6 +183,7 @@ fix vault guard impossible when he could not relocate in certain situation
fix temple priests or shopkeepers moving over other monsters
fix hero still hiding under a statue shattered by a land mine
fix helping a monster out of a pit addressing a deleted trap
fix launched rolling boulder code accessing deleted trap
Fixes to Post-3.6.2 Problems that Were Exposed Via git Repository