1
0
mirror of https://github.com/vcmi/vcmi.git synced 2026-05-22 09:55:17 +02:00

Update Nullkiller.cpp

Fixed incorrect trace-message at end of turn.
This commit is contained in:
Xilmi
2024-09-06 22:10:14 +02:00
parent 06f894140c
commit 099341e143
+2
View File
@@ -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();