summaryrefslogtreecommitdiff
path: root/src/serverobject.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-14 00:19:48 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:41 +0200
commitabceeee92f99b84ebb79968269835a4f509bfb90 (patch)
tree669edeca68fae4eb086ac4e4c1846b55d3aa779d /src/serverobject.cpp
parent5fc791ac9a15ea6f234ca2d23041c83679255746 (diff)
downloadminetest-abceeee92f99b84ebb79968269835a4f509bfb90.tar.gz
minetest-abceeee92f99b84ebb79968269835a4f509bfb90.tar.bz2
minetest-abceeee92f99b84ebb79968269835a4f509bfb90.zip
Create framework for getting rid of global definitions of node/tool/item/whatever types
Diffstat (limited to 'src/serverobject.cpp')
-rw-r--r--src/serverobject.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/serverobject.cpp b/src/serverobject.cpp
index 2a007bda5..428ad6484 100644
--- a/src/serverobject.cpp
+++ b/src/serverobject.cpp
@@ -37,9 +37,8 @@ ServerActiveObject::~ServerActiveObject()
{
}
-void ServerActiveObject::addedToEnvironment(u16 id)
+void ServerActiveObject::addedToEnvironment()
{
- setId(id);
}
ServerActiveObject* ServerActiveObject::create(u8 type,