mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
AI/VCAI/VCAI.cpp: Remove unused variable introduced in 2014
This commit is contained in:
parent
8ead3e3b91
commit
a54e8c88a9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user