diff --git a/AI/StupidAI/StupidAI.cpp b/AI/StupidAI/StupidAI.cpp index 0777a5e1a..f9171f625 100644 --- a/AI/StupidAI/StupidAI.cpp +++ b/AI/StupidAI/StupidAI.cpp @@ -40,7 +40,7 @@ struct EnemyInfo const CStack * s; int adi, adr; std::vector 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) {