aboutsummaryrefslogtreecommitdiff
path: root/src/serverobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/serverobject.cpp')
-rw-r--r--src/serverobject.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/serverobject.cpp b/src/serverobject.cpp
index 344ae406a..ca3d2c3b9 100644
--- a/src/serverobject.cpp
+++ b/src/serverobject.cpp
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "serverobject.h"
#include <fstream>
#include "inventory.h"
+#include "tooldef.h"
ServerActiveObject::ServerActiveObject(ServerEnvironment *env, v3f pos):
ActiveObject(0),
@@ -66,5 +67,10 @@ void ServerActiveObject::registerType(u16 type, Factory f)
m_types.insert(type, f);
}
+void ServerActiveObject::getWieldDiggingProperties(ToolDiggingProperties *dst)
+{
+ *dst = ToolDiggingProperties();
+}
+