1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-22 17:18:39 +00:00

Convert CraftItems directly to the name pointed by alias; necessary due to lua definition table

This commit is contained in:
Perttu Ahola 2011-12-04 01:16:22 +02:00
parent 2b8b2a4f30
commit 4ad8891e05
4 changed files with 20 additions and 11 deletions

View file

@ -238,11 +238,7 @@ private:
class CraftItem : public InventoryItem
{
public:
CraftItem(IGameDef *gamedef, std::string subname, u16 count):
InventoryItem(gamedef, count)
{
m_subname = subname;
}
CraftItem(IGameDef *gamedef, std::string subname, u16 count);
/*
Implementation interface
*/