mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
Fix assertion failure on fighting against AI with tactics
This commit is contained in:
parent
22558551bf
commit
1704fab3a2
@ -570,6 +570,9 @@ bool BattleInterface::makingTurn() const
|
||||
|
||||
void BattleInterface::endAction(const BattleAction* action)
|
||||
{
|
||||
// it is possible that tactics mode ended while opening music is still playing
|
||||
waitForAnimations();
|
||||
|
||||
const CStack *stack = curInt->cb->battleGetStackByID(action->stackNumber);
|
||||
|
||||
// Activate stack from stackToActivate because this might have been temporary disabled, e.g., during spell cast
|
||||
|
Loading…
Reference in New Issue
Block a user