1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

Fix copy-paste error

This commit is contained in:
Ivan Savenko
2024-02-05 21:07:50 +02:00
parent a97d1d9377
commit 342e6daebd

View File

@@ -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);