1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix CID 1197519

This commit is contained in:
DjWarmonger 2016-12-12 19:13:43 +01:00
parent 75461cfa0f
commit 90d39ca2af

View File

@ -40,7 +40,7 @@ struct EnemyInfo
const CStack * s;
int adi, adr;
std::vector<BattleHex> attackFrom; //for melee fight
EnemyInfo(const CStack * _s) : s(_s)
EnemyInfo(const CStack * _s) : s(_s), adi(0), adr(0)
{}
void calcDmg(const CStack * ourStack)
{