1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fixed a few CWE-457

This commit is contained in:
AlexVinS
2016-11-27 22:37:41 +03:00
parent c0ed22c99e
commit 609c6f81bd
7 changed files with 19 additions and 10 deletions

View File

@@ -6277,6 +6277,8 @@ CGameHandler::FinishingBattleHelper::FinishingBattleHelper(std::shared_ptr<const
CGameHandler::FinishingBattleHelper::FinishingBattleHelper()
{
winnerHero = loserHero = nullptr;
duel = false;
remainingBattleQueriesCount = 0;
}
CRandomGenerator & CGameHandler::getRandomGenerator()