1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

Fixed (unnecessary?) deadlock in BattleStacksRemoved. Daemon summoning is pretty functional.

This commit is contained in:
DjWarmonger
2011-10-02 13:59:12 +00:00
parent 07b8f87fb7
commit f1f416c890
5 changed files with 46 additions and 1 deletions

View File

@@ -3309,6 +3309,13 @@ bool CGameHandler::makeBattleAction( BattleAction &ba )
bsr.stackIDs.insert(destStack->ID);
sendAndApply(&bsr);
sendAndApply(&bsa);
BattleSetStackProperty ssp;
ssp.stackID = ba.stackNumber;
ssp.which = BattleSetStackProperty::CASTS;
ssp.val = -1;
ssp.absolute = false;
sendAndApply(&ssp);
}
sendAndApply(&end_action);