9c330da29f
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> |
||
---|---|---|
common | ||
contrib | ||
d1x-rebirth | ||
d2x-rebirth | ||
Documentation | ||
similar | ||
.gitignore | ||
COPYING.txt | ||
GPL-3.txt | ||
INSTALL.markdown | ||
SConstruct |