Procházet zdrojové kódy

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

DjWarmonger před 11 roky
rodič
revize
1dbc0c7177
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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++)
 	{