X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fserverobject.cpp;h=ca3d2c3b98d2790de87d64905446a6fb0e273e99;hb=6d4bc012f007a0aa63d7f917891d355d680b4a1b;hp=344ae406aedd61c3f3329746ae716e7f881e3758;hpb=e6e3eef0ef0873b5853b6d055cea0f2b812c65c8;p=dragonfireclient.git 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 #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(); +} +