summaryrefslogtreecommitdiff
path: root/src/net/manaserv/gamehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/gamehandler.h')
-rw-r--r--src/net/manaserv/gamehandler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/manaserv/gamehandler.h b/src/net/manaserv/gamehandler.h
index b8dda036..2d33710e 100644
--- a/src/net/manaserv/gamehandler.h
+++ b/src/net/manaserv/gamehandler.h
@@ -27,6 +27,8 @@
#include "net/manaserv/messagehandler.h"
+#include "net/manaserv/manaserv_protocol.h"
+
namespace ManaServ {
class GameHandler : public MessageHandler, public Net::GameHandler
@@ -56,6 +58,10 @@ class GameHandler : public MessageHandler, public Net::GameHandler
/** The ManaServ protocol doesn't use the MP status bar. */
bool canUseMagicBar() const { return false; }
+
+ int getPickupRange() const { return PICKUP_RANGE; }
+
+ int getNpcTalkRange() const { return NPC_TALK_RANGE; }
};
} // namespace ManaServ