mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
Attempt to fix / trace crashes from Google Play statistics
This commit is contained in:
@ -375,13 +375,11 @@ void BattleStacksController::updateBattleAnimations(uint32_t msPassed)
|
||||
tickFrameBattleAnimations(msPassed);
|
||||
vstd::erase(currentAnimations, nullptr);
|
||||
|
||||
if (hadAnimations && currentAnimations.empty())
|
||||
{
|
||||
//stackAmountBoxHidden.clear();
|
||||
if (currentAnimations.empty())
|
||||
owner.executeStagedAnimations();
|
||||
if (currentAnimations.empty())
|
||||
owner.onAnimationsFinished();
|
||||
}
|
||||
|
||||
if (hadAnimations && currentAnimations.empty())
|
||||
owner.onAnimationsFinished();
|
||||
|
||||
initializeBattleAnimations();
|
||||
}
|
||||
|
Reference in New Issue
Block a user