View Issue Details

IDProjectCategoryView StatusLast Update
0002685The Dark ModAIpublic27.10.2011 05:17
Reportergrayman Assigned Tograyman  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.04 
Target VersionTDM 1.05Fixed in VersionTDM 1.05 
Summary0002685: Chalice of Kings tickles an assert when using a Debug DLL
DescriptionWhile testing mission starts with SVN code, Chalice of Kings crashes on an assertion. An invalid area number of zero is used where non-zeros are expected.
TagsNo tags attached.

Activities

grayman

grayman

09.03.2011 18:46

viewer   ~0003744

Footlocker lids are doors, but they have an AAS area number of zero. Pathfinding flags doors the AI should use, and with the recent movement changes, it’s picking up footlocker doors. These are marked “ai_should_not_handle”, so their area numbers are stored in the AI’s forbidden areas list. An area number of zero is invalid, so letting one get into the forbidden areas list triggers an assertion later when the list is used.

This fix checks for a zero area number and prevents it from being added to the forbidden areas list.

rev. 4672:

HandleDoorTask.cpp

Issue History

Date Modified Username Field Change
09.03.2011 18:23 grayman New Issue
09.03.2011 18:23 grayman Status new => assigned
09.03.2011 18:23 grayman Assigned To => grayman
09.03.2011 18:46 grayman Note Added: 0003744
09.03.2011 18:46 grayman Status assigned => resolved
09.03.2011 18:46 grayman Resolution open => fixed
09.03.2011 18:46 grayman Fixed in Version => TDM 1.05
27.10.2011 05:17 greebo Status resolved => closed