Skip to content

Engine: Fix updatesectorz() not checking z height in fallback, and add fallback optimization to updatesectorexclude()

Dino Bollinger requested to merge dibollinger/eduke32:updatesector_fixes into master

updatesector_tryremaining() was used in updatesectorz(), which caused a range of bugs, such as being transported into the wrong overlapping sector, as well as the following instant death case:

This is because it used include_p() instead of include_z_p(). This commit also adds the fallback optimization to the function updatesectorexclude().

Merge request reports