1
0
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:
Alexander Shishkin 2017-05-13 11:54:33 +03:00 committed by GitHub
commit b97b3ecec6

View File

@ -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()