summaryrefslogtreecommitdiff
path: root/src/serverobject.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-17 02:40:36 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-17 02:40:36 +0300
commitd0ea6f9920d30f46d1f5d44e8823a8d932f9f29d (patch)
tree5b75f389b027a058e1f47fa3103a1cfb51f26b9b /src/serverobject.h
parent1bc37d576ce790c1169c5f9996be7bbc8026db2c (diff)
downloadminetest-d0ea6f9920d30f46d1f5d44e8823a8d932f9f29d.tar.gz
minetest-d0ea6f9920d30f46d1f5d44e8823a8d932f9f29d.tar.bz2
minetest-d0ea6f9920d30f46d1f5d44e8823a8d932f9f29d.zip
Properly and efficiently use split utility headers
Diffstat (limited to 'src/serverobject.h')
-rw-r--r--src/serverobject.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/serverobject.h b/src/serverobject.h
index 635160a03..0130ca1bf 100644
--- a/src/serverobject.h
+++ b/src/serverobject.h
@@ -22,9 +22,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "irrlichttypes.h"
#include "activeobject.h"
-#include "utility.h"
#include "inventorymanager.h"
#include "itemgroup.h"
+#include "util/container.h"
/*
@@ -96,8 +96,7 @@ public:
{ setBasePosition(pos); }
// If object has moved less than this and data has not changed,
// saving to disk may be omitted
- virtual float getMinimumSavedMovement()
- { return 2.0*BS; }
+ virtual float getMinimumSavedMovement();
virtual bool isPeaceful(){return true;}