Skip to content

Fix for #551

Monster Iestyn requested to merge zmovement-remove-fix into next

This is probably the fix for #551 (closed)

P_CheckPosition can possibly remove a mobj via Lua (like for instance through a ShouldDamage hook involving a missile), and P_ZMovement does not properly account for this fact. Therefore, it crashes when it tries to then access the subsector of this mobj.

Merge request reports