Browse Source

AI/VCAI/VCAI.cpp: Remove unused variable introduced in 2014

Johannes 'josch' Schauer 7 years ago
parent
commit
a54e8c88a9
1 changed files with 0 additions and 1 deletions
  1. 0 1
      AI/VCAI/VCAI.cpp

+ 0 - 1
AI/VCAI/VCAI.cpp

@@ -1369,7 +1369,6 @@ void VCAI::buildStructure(const CGTownInstance * t)
 	//below algorithm focuses on economy growth at start of the game.
 	TResources currentRes = cb->getResourceAmount();
 	TResources currentIncome = t->dailyIncome();
-	int townIncome = currentIncome[Res::GOLD];
 
 	if(tryBuildAnyStructure(t, std::vector<BuildingID>(essential, essential + ARRAY_COUNT(essential))))
 		return;