MantisBT - VCMI | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0002681 | VCMI | Random Map Generator | public | 2017-05-26 15:40 | 2017-05-27 12:59 |
Reporter | SXX | ||||
Assigned To | Warmonger | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 0.99 | ||||
Target Version | Fixed in Version | 1.next | |||
Summary | 0002681: RMG crash when used creatures with zero AIValue | ||||
Description | In CRmgTemplateZone::addAllPossibleObjects there is "creatureToCount" lamba that using float for "creaturesAmount" and if AIValue is zero then it's going to become +infinity which of course cause crash on rounding. This particularly occurs with WoG mod enabled. So this have to be fixed OR we should just forbid to add creatures with zero AIValue and trigger error on loading. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2017-05-26 15:40 | SXX | New Issue | |||
2017-05-26 15:40 | SXX | Status | new => assigned | ||
2017-05-26 15:40 | SXX | Assigned To | => Warmonger | ||
2017-05-26 16:11 | SXX | Note Added: 0007047 | |||
2017-05-26 19:23 | SXX | Note Added: 0007049 | |||
2017-05-27 09:11 | Warmonger | Note Added: 0007052 | |||
2017-05-27 12:47 | Warmonger | Note Added: 0007053 | |||
2017-05-27 12:59 | Warmonger | Note Added: 0007054 | |||
2017-05-27 12:59 | Warmonger | Status | assigned => resolved | ||
2017-05-27 12:59 | Warmonger | Fixed in Version | => 1.next | ||
2017-05-27 12:59 | Warmonger | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|