View Issue Details

IDProjectCategoryView StatusLast Update
0002163FSSCPAIpublic2010-03-27 21:13
Reporteravaman Assigned ToSushi_CW  
PrioritynormalSeveritytrivialReproducibilityN/A
Status closedResolutionno change required 
Product Version3.6.10 
Fixed in Version3.6.12 RC2 
Summary0002163: Strange assertion in ai_frame()
DescriptionIn function ai_frame() in AICode.cpp the assertion is always positive and makes no sence:
Assert((aip->mode != AIM_WAYPOINTS) || (aip->active_goal != AI_ACTIVE_GOAL_DYNAMIC));

Mistyped?
TagsNo tags attached.

Activities

The_E

2010-03-27 17:06

administrator   ~0011836

Last edited: 2010-03-27 17:07

Way I see it, this will assert when the AI is in waypoint mode and dynamic goals are active. At that point, an assert is certainly useful, since IIRC those two things are mutually exclusive (The AI can't do waypoints when in dynamic goal mode).

Genghis

2010-03-27 21:13

developer   ~0011838

No fix required, the logic in the assert is sound.

Issue History

Date Modified Username Field Change
2010-03-26 19:10 avaman New Issue
2010-03-26 19:10 avaman Status new => assigned
2010-03-26 19:10 avaman Assigned To => Sushi_CW
2010-03-27 17:06 The_E Note Added: 0011836
2010-03-27 17:07 The_E Note Edited: 0011836
2010-03-27 21:13 Genghis Note Added: 0011838
2010-03-27 21:13 Genghis Status assigned => closed
2010-03-27 21:13 Genghis Resolution open => no change required
2010-03-27 21:13 Genghis Fixed in Version => 3.6.12 RC2