From 90d39ca2af1193edc9c0aed461714be1c9a49b1d Mon Sep 17 00:00:00 2001 From: DjWarmonger Date: Mon, 12 Dec 2016 19:13:43 +0100 Subject: [PATCH] Fix CID 1197519 --- AI/StupidAI/StupidAI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {