Fixes entry for pull request #685 - place_object

From argrath:  in place_object(object, x, y), validate <x,y> before
using them as indices into level.objects[][] instead of after.

Closes #685
This commit is contained in:
PatR
2022-02-25 22:44:17 -08:00
parent 757139476f
commit b1d59665d8

View File

@@ -823,6 +823,7 @@ if a lit potion of oil on the floor was launched by an explosion and it hit
and killed the hero via missile damage rather than its own explosion,
it could trigger an "obj_is_local" panic when end of game cleanup
tried to extinguish it as a light source
place_object() validated coordinates after using them to index level.objects
Fixes to 3.7.0-x Problems that Were Exposed Via git Repository