mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
Better registration of type names
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user