MantisBT - VCMI
View Issue Details
0000869VCMIGUI - Battlespublic2012-02-18 17:282014-05-30 17:40
Warmonger 
Tow 
normalcrashsometimes
closedfixed 
PCWindows 7SP1
0.87 
0.88 
0000869: Rising Demons with Pitlord causes animation deadlock
Deadlock happens soon after new creature is added on Client.
My guess it has something to do with local mouse hover, as elementals / clone work fine at this point.

Also, I can remember at least one situation when it didn't happen, which suggests race condition.
To reproduce, use map from 0000857. Run it in hotseat with two players, then attack blue hero with Sir Mullich.
No tags attached.
Issue History
2012-02-18 17:28WarmongerNew Issue
2012-02-18 17:28WarmongerStatusnew => assigned
2012-02-18 17:28WarmongerAssigned To => Tow dragon
2012-02-18 17:43WarmongerDescription Updatedbug_revision_view_page.php?rev_id=1509#r1509
2012-02-18 20:53TowNote Added: 0002187
2012-02-18 20:53TowStatusassigned => resolved
2012-02-18 20:53TowFixed in Version => 0.89
2012-02-18 20:53TowResolutionopen => fixed
2012-02-18 20:53TowAssigned ToTow dragon => Tow
2014-05-30 17:40beegeeStatusresolved => closed

Notes
(0002187)
Tow   
2012-02-18 20:53   
Pretty tricky problem, caused by assigning to the demons an ID that was already used by another stack. Fixed in r2540.

However the stacks removing mechanism is flawed. Stack once removed from battle, will not be taken into account when calculating the casualties. We need either to remember „deleted” stacks in another vector or hide them instead of removing.