Go to file
Kp 9c330da29f Prevent guidebot crash on unattainable goal
Yarn reported that Descent 2: Counterstrike level 9 can place the
guidebot in a situation where

    (Escort_goal_index == object_guidebot_cannot_reach &&
    Escort_special_goal != ESCORT_GOAL_UNSPECIFIED)

If this happens and the player grabs a powerup, then the game crashes
trying to check if the grabbed powerup was of the type that the guidebot
sought.  Since the guidebot was not seeking any object, the answer is
that this is not the sought object.

The design ought not set Escort_goal_index to an invalid object index,
but it does.  Fixing that is too invasive for now.  Add a special case
to prevent this crash.

Reported-by: Yarn <http://www.dxx-rebirth.com/frm/index.php/topic,2158.0.html>
2017-01-29 18:54:52 +00:00
common Player keeps any keys collected on a secret level even if they die on the secret level 2017-01-29 07:54:43 +08:00
contrib Update Xcode project for recently added/removed files 2017-01-07 15:30:18 +08:00
d1x-rebirth Make grs_bitmap::bm_flags private 2017-01-15 00:03:13 +00:00
d2x-rebirth Prevent guidebot crash on unattainable goal 2017-01-29 18:54:52 +00:00
Documentation Require support for reference qualified methods 2016-12-10 17:51:07 +00:00
similar Player keeps omega cannon charge if going between secret and normal level 2017-01-29 07:54:43 +08:00
.gitignore ignore XCode user data 2014-12-06 22:43:12 -08:00
COPYING.txt corrected typo in COPYING.txt (it's to its) 2014-06-06 13:18:52 +02:00
GPL-3.txt
INSTALL.markdown Fix Ubuntu package name in INSTALL.markdown 2016-12-23 02:56:55 +00:00
SConstruct Default to -fno-omit-frame-pointer for Windows 2017-01-11 03:03:19 +00:00