Laserlicht 2 年之前
父节点
当前提交
f6071ed181
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>())
-		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)