mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Merge pull request #297 from FeniksFire/develop
Fix game crash after autofight in the battle.
This commit is contained in:
commit
b97b3ecec6
@ -1234,8 +1234,8 @@ void CBattleInterface::battleFinished(const BattleResult& br)
|
||||
auto unlockPim = vstd::makeUnlockGuard(*CPlayerInterface::pim);
|
||||
animsAreDisplayed.waitUntil(false);
|
||||
}
|
||||
displayBattleFinished();
|
||||
setActiveStack(nullptr);
|
||||
displayBattleFinished();
|
||||
}
|
||||
|
||||
void CBattleInterface::displayBattleFinished()
|
||||
|
Loading…
Reference in New Issue
Block a user