Browse Source

Fix copy-paste error

Ivan Savenko 1 year ago
parent
commit
342e6daebd
1 changed files with 1 additions and 1 deletions
  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);