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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user