View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001716 | The Dark Mod | AI | public | 26.03.2009 02:15 | 26.03.2010 07:38 |
Reporter | Ishtvan | Assigned To | angua | ||
Priority | normal | Severity | normal | Reproducibility | sometimes |
Status | closed | Resolution | fixed | ||
Fixed in Version | SVN | ||||
Summary | 0001716: Crash when AI dies while fleeing | ||||
Description | I debugged a crash I was getting in the map test/aivsai, and it led to this line in FleeTask::Perform float enemyDistance = owner->TravelDistance(owner->GetPhysics()->GetOrigin(), enemy->GetPhysics()->GetOrigin()); It's crashing on the GetPhysics() part of that, because GetPhysics is not valid after the AI dies or is KO'd. I'm not sure what the best way is to fix this. Somewhere in the flee task we have to check if the AI is dead and abort if so, but I'm not sure where the best place is to do this. Greebo & angua probably know better than I where it should be. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
26.03.2009 02:15 | Ishtvan | New Issue | |
26.03.2009 13:47 | angua | Status | new => assigned |
26.03.2009 13:47 | angua | Assigned To | => angua |
26.03.2009 13:56 | angua | Note Added: 0002393 | |
26.03.2009 13:56 | angua | Status | assigned => resolved |
26.03.2009 13:56 | angua | Fixed in Version | => SVN |
26.03.2009 13:56 | angua | Resolution | open => fixed |
26.03.2010 07:38 | greebo | Status | resolved => closed |