1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +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

@@ -239,8 +239,9 @@ CBattleQuery::CBattleQuery(const BattleInfo *Bi)
}
CBattleQuery::CBattleQuery()
:bi(nullptr)
{
belligerents[0] = belligerents[1] = nullptr;
}
bool CBattleQuery::blocksPack(const CPack *pack) const