Better registration of type names

This commit is contained in:
Ivan Savenko
2026-06-12 18:50:26 +03:00
parent cfa3ca889f
commit ff3a8e0bcb
47 changed files with 295 additions and 241 deletions
-5
View File
@@ -34,11 +34,6 @@ public:
static std::string getNameTextID(const Creature & creature, int amount);
};
inline std::string luaTypeNameOf(LuaTypeNameTag<Creature>)
{
return std::string(CreatureProxy::luaName);
}
}
VCMI_LIB_NAMESPACE_END