summaryrefslogtreecommitdiff
path: root/src/content_inventory.cpp
diff options
context:
space:
mode:
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;
}