Laserlicht 2 years ago
parent
commit
f6071ed181
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/CPlayerInterface.cpp

+ 1 - 1
client/CPlayerInterface.cpp

@@ -593,7 +593,7 @@ void CPlayerInterface::buildChanged(const CGTownInstance *town, BuildingID build
 	}
 	}
 
 
 	for (auto cgh : GH.windows().findWindows<ITownHolder>())
 	for (auto cgh : GH.windows().findWindows<ITownHolder>())
-		cgh->buildChanged(town);
+		cgh->buildChanged();
 }
 }
 
 
 void CPlayerInterface::battleStartBefore(const BattleID & battleID, const CCreatureSet *army1, const CCreatureSet *army2, int3 tile, const CGHeroInstance *hero1, const CGHeroInstance *hero2)
 void CPlayerInterface::battleStartBefore(const BattleID & battleID, const CCreatureSet *army1, const CCreatureSet *army2, int3 tile, const CGHeroInstance *hero1, const CGHeroInstance *hero2)