summaryrefslogtreecommitdiff
path: root/src/content_inventory.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-11 19:33:17 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:38 +0200
commitbfc68d31510bbd40732c19ada51d4683cb050de2 (patch)
tree21ca37b09d78761ae59d84af096a8ff391838a89 /src/content_inventory.cpp
parentee8b6d34447acab3ffb318dc8c070df890c1b810 (diff)
downloadminetest-bfc68d31510bbd40732c19ada51d4683cb050de2.tar.gz
minetest-bfc68d31510bbd40732c19ada51d4683cb050de2.tar.bz2
minetest-bfc68d31510bbd40732c19ada51d4683cb050de2.zip
Scripting WIP
Diffstat (limited to 'src/content_inventory.cpp')
-rw-r--r--src/content_inventory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/content_inventory.cpp b/src/content_inventory.cpp
index 413ae8505..1d5c6b355 100644
--- a/src/content_inventory.cpp
+++ b/src/content_inventory.cpp
@@ -80,16 +80,16 @@ std::string item_craft_get_image_name(const std::string &subname)
}
ServerActiveObject* item_craft_create_object(const std::string &subname,
- ServerEnvironment *env, u16 id, v3f pos)
+ ServerEnvironment *env, v3f pos)
{
if(subname == "rat")
{
- ServerActiveObject *obj = new RatSAO(env, id, pos);
+ ServerActiveObject *obj = new RatSAO(env, pos);
return obj;
}
else if(subname == "firefly")
{
- ServerActiveObject *obj = new FireflySAO(env, id, pos);
+ ServerActiveObject *obj = new FireflySAO(env, pos);
return obj;
}