Anonymous | Login | 2024-11-24 12:17 UTC |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001030 | VCMI | AI - Adventure Map | public | 2012-07-06 15:24 | 2014-05-30 17:41 | ||||
Reporter | Warmonger | ||||||||
Assigned To | Warmonger | ||||||||
Priority | normal | Severity | major | Reproducibility | sometimes | ||||
Status | closed | Resolution | fixed | ||||||
Platform | PC | OS | Windows 7 | OS Version | SP1 | ||||
Product Version | |||||||||
Target Version | Fixed in Version | 0.9 | |||||||
Summary | 0001030: Objects visitable once per hero show as "Not visited" to AI. | ||||||||
Description | AI will attempt to revisit objects like Mercenary camp or Learning STone over and over again and get stuck in the process. However, it may be not AI bug as such, as log shows that these objects are actually marked as "Not visited". I think that only second (blue) player suffers from this issue, first (red) does not. They are both AI in my maps. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0002802) Warmonger (administrator) 2012-07-19 16:32 |
Fixed in r2793. Apparently i was caused by excessive polymorhpism: In expression if (obj->wasVisited(h)) heroPtr is evaluated as numeric value, resulting in call wasVisited (ui8 player) while if (obj->wasVisited(*h)) calls wasVisited (const CGHeroInstance * h) |
Issue History | |||
Date Modified | Username | Field | Change |
2012-07-06 15:24 | Warmonger | New Issue | |
2012-07-06 15:24 | Warmonger | Status | new => assigned |
2012-07-06 15:24 | Warmonger | Assigned To | => Tow |
2012-07-06 15:36 | Warmonger | Description Updated | View Revisions |
2012-07-19 14:56 | Warmonger | Assigned To | Tow => Warmonger |
2012-07-19 16:32 | Warmonger | Note Added: 0002802 | |
2012-07-19 16:32 | Warmonger | Status | assigned => resolved |
2012-07-19 16:32 | Warmonger | Fixed in Version | => 0.9 |
2012-07-19 16:32 | Warmonger | Resolution | open => fixed |
2014-05-30 17:41 | beegee | Status | resolved => closed |
Copyright © 2000 - 2024 MantisBT Team |