浏览代码

[programming challenge] typo

Michał W. Urbańczyk 14 年之前
父节点
当前提交
5fcbcf9e20
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/IGameCallback.h

+ 1 - 1
lib/IGameCallback.h

@@ -249,7 +249,7 @@ public:
 	std::vector<const CGHeroInstance *> getAvailableHeroes(const CGObjectInstance * townOrTavern) const; //heroes that can be recruited
 	std::string getTavernGossip(const CGObjectInstance * townOrTavern) const; 
 ///	 0 - no more than one capitol, 1 - lack of water, 2 - forbidden, 3 - Add another level to Mage Guild, 4 - already built, 5 - cannot build, 6 - cannot afford, 7 - build, 8 - lack of requirements
-	int canBuildStructure(const CGTownInstance *t, int ID);/
+	int canBuildStructure(const CGTownInstance *t, int ID);
 
 	std::set<int> getBuildingRequiments(const CGTownInstance *t, int ID);
 	virtual bool getTownInfo(const CGObjectInstance *town, InfoAboutTown &dest) const;