2
0
Эх сурвалжийг харах

Update Nullkiller.cpp

Fixed incorrect trace-message at end of turn.
Xilmi 1 жил өмнө
parent
commit
099341e143

+ 2 - 0
AI/Nullkiller/Engine/Nullkiller.cpp

@@ -511,6 +511,8 @@ void Nullkiller::makeTurn()
 		{
 			logAi->trace("Nothing was done this turn. Ending turn.");
 #if NKAI_TRACE_LEVEL >= 1
+			totalHeroStrength = 0;
+			totalTownLevel = 0;
 			for (auto heroInfo : cb->getHeroesInfo())
 			{
 				totalHeroStrength += heroInfo->getTotalStrength();