瀏覽代碼

Fix copy-paste error

Ivan Savenko 1 年之前
父節點
當前提交
342e6daebd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/constants/EntityIdentifiers.h

+ 1 - 1
lib/constants/EntityIdentifiers.h

@@ -330,7 +330,7 @@ public:
 	static BuildingID FORT_LEVEL(unsigned int level)
 	{
 		assert(level < 3);
-		return BuildingID(Type::TOWN_HALL + level);
+		return BuildingID(Type::FORT + level);
 	}
 
 	static std::string encode(int32_t index);