MantisBT - VCMI
View Issue Details
0003051VCMIMechanics - Otherpublic2019-04-24 18:532019-05-02 13:24
Dydzio 
Dydzio 
normalminorsometimes
resolvedfixed 
Microsoft WindowsWindows 7Home Premium x64
1.next 
1.next 
0003051: Duplicate hero on map initialization possible to achieve in some cases
It's possible to have two same heroes as starting heroes in some cases and it leads to bugs that eventually may lead to crash/freeze. Tried to reproduce under specific conditions, same as the ones where I found the bug for first time, and it succeeded after few tries. Provided screenshot shows information from "map info" gathered after map loaded.
Pick hot-seat game, put human players as the last colors, pick map with many total players for easier reproducibility. Pick same town non random heroes for humans (2 players in tested case), same town as humans for AI but random heroes. There is chance that on game start random hero will be same as hero already picked by human.
No tags attached.
png double.png (406,159) 2019-04-24 18:53
https://bugs.vcmi.eu/file_download.php?file_id=2999&type=bug
png
Issue History
2019-04-24 18:53DydzioNew Issue
2019-04-24 18:53DydzioFile Added: double.png
2019-04-27 17:22DydzioAssigned To => Dydzio
2019-04-27 17:22DydzioStatusnew => assigned
2019-04-28 07:22DydzioNote Added: 0007779
2019-05-02 13:24DydzioStatusassigned => resolved
2019-05-02 13:24DydzioFixed in Version => 1.next
2019-05-02 13:24DydzioResolutionopen => fixed

Notes
(0007779)
Dydzio   
2019-04-28 07:22   
Fixed in: https://github.com/vcmi/vcmi/pull/580 [^]