diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-11 19:33:17 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-29 19:13:38 +0200 |
commit | bfc68d31510bbd40732c19ada51d4683cb050de2 (patch) | |
tree | 21ca37b09d78761ae59d84af096a8ff391838a89 /src/inventory.cpp | |
parent | ee8b6d34447acab3ffb318dc8c070df890c1b810 (diff) | |
download | minetest-bfc68d31510bbd40732c19ada51d4683cb050de2.tar.gz minetest-bfc68d31510bbd40732c19ada51d4683cb050de2.tar.bz2 minetest-bfc68d31510bbd40732c19ada51d4683cb050de2.zip |
Scripting WIP
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index 92ef3b011..5d4a6e408 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -136,7 +136,7 @@ ServerActiveObject* InventoryItem::createSAO(ServerEnvironment *env, u16 id, v3f Create an ItemSAO */ // Create object - ServerActiveObject *obj = new ItemSAO(env, 0, pos, getItemString()); + ServerActiveObject *obj = new ItemSAO(env, pos, getItemString()); return obj; } @@ -174,7 +174,7 @@ video::ITexture * CraftItem::getImage() const ServerActiveObject* CraftItem::createSAO(ServerEnvironment *env, u16 id, v3f pos) { // Special cases - ServerActiveObject *obj = item_craft_create_object(m_subname, env, id, pos); + ServerActiveObject *obj = item_craft_create_object(m_subname, env, pos); if(obj) return obj; // Default |