Browse Source

Compilation fix. This will be released as VCMI 0.95b.

DjWarmonger 11 years ago
parent
commit
1dbc0c7177
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/CKingdomInterface.cpp

+ 1 - 1
client/CKingdomInterface.cpp

@@ -581,7 +581,7 @@ void CKingdomInterface::generateMinesList(const std::vector<const CGObjectInstan
 	std::vector<const CGTownInstance*> towns = LOCPLINT->cb->getTownsInfo(true);
 	for(auto & town : towns)
 	{
-		totalIncome += town->dailyIncome();
+		totalIncome += town->dailyIncome()[Res::GOLD];
 	}
 	for (int i=0; i<7; i++)
 	{