1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-03 14:52:11 +02:00
Commented out relics from debugging that were causing warnings for unused variables.
This commit is contained in:
Xilmi 2024-07-15 19:57:33 +02:00
parent fbe1e171fe
commit d4b4a6c4db

View File

@ -352,16 +352,16 @@ void Nullkiller::makeTurn()
const int MAX_DEPTH = 10;
const float FAST_TASK_MINIMAL_PRIORITY = 0.7f;
float totalHeroStrength = 0;
int totalTownLevel = 0;
for (auto heroInfo : cb->getHeroesInfo())
{
totalHeroStrength += heroInfo->getTotalStrength();
}
for (auto townInfo : cb->getTownsInfo())
{
totalTownLevel += townInfo->getTownLevel();
}
//float totalHeroStrength = 0;
//int totalTownLevel = 0;
//for (auto heroInfo : cb->getHeroesInfo())
//{
// totalHeroStrength += heroInfo->getTotalStrength();
//}
//for (auto townInfo : cb->getTownsInfo())
//{
// totalTownLevel += townInfo->getTownLevel();
//}
resetAiState();