1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-11-08 18:50:37 +02:00
parent 6cb1f6ff11
commit 52050d0ef1
15 changed files with 47 additions and 34 deletions

View File

@@ -532,4 +532,14 @@ std::string SecondarySkill::entityType()
return "secondarySkill";
}
std::string BuildingID::encode(int32_t index)
{
return std::to_string(index);
}
si32 BuildingID::decode(const std::string & identifier)
{
return std::stoi(identifier);
}
VCMI_LIB_NAMESPACE_END