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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user