mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-03 14:52:11 +02:00
Warnings
Commented out relics from debugging that were causing warnings for unused variables.
This commit is contained in:
parent
fbe1e171fe
commit
d4b4a6c4db
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user