View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004193 | The Dark Mod | AI | public | 31.07.2015 12:52 | 02.08.2015 13:03 |
Reporter | NagaHuntress | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.03 | ||||
Target Version | TDM 2.04 | Fixed in Version | TDM 2.04 | ||
Summary | 0004193: Comparison of an alert type variable to an event type constant | ||||
Description | When looking through the -Wall warning messages with '-Wall', I found the following comparison which appears to be clearly a bug: game/ai/States/State.cpp:1867:77: warning: comparison between ‘enum ai::EAlertType’ and ‘enum EventType’ [-Wenum-compare] if ( soundName.IsEmpty() && !need2Search && ( otherMemory.alertType == E_EventTypeUnconsciousPerson ) ) I believe the correct enum constant is: EAlertTypeUnconsciousPerson | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
31.07.2015 12:52 | NagaHuntress | New Issue | |
01.08.2015 16:43 | SteveL | Note Added: 0007684 | |
01.08.2015 16:43 | SteveL | Assigned To | => SteveL |
01.08.2015 16:43 | SteveL | Status | new => acknowledged |
02.08.2015 11:20 | grayman | Note Added: 0007687 | |
02.08.2015 11:20 | grayman | Status | acknowledged => resolved |
02.08.2015 11:20 | grayman | Resolution | open => fixed |
02.08.2015 11:20 | grayman | Product Version | => TDM 2.03 |
02.08.2015 11:20 | grayman | Fixed in Version | => TDM 2.04 |
02.08.2015 11:20 | grayman | Target Version | => TDM 2.04 |
02.08.2015 13:03 | SteveL | Assigned To | SteveL => grayman |
02.08.2015 13:03 | SteveL | Status | resolved => assigned |
02.08.2015 13:03 | SteveL | Status | assigned => resolved |