summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 23:41:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 23:41:37 +0300
commitb8ad6772fbc9d3f0917e0b39ec66d0004a267904 (patch)
treeb59ee147b6521da928696782c05de9c47c05e1dc /src/net/tmwa
parentf4adf3093ce086549eb8d4bed228dee1d62f5e9d (diff)
downloadManaVerse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.tar.gz
ManaVerse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.tar.bz2
ManaVerse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.tar.xz
ManaVerse-b8ad6772fbc9d3f0917e0b39ec66d0004a267904.zip
Add base class for questhandler in net namespace.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/questhandler.cpp3
-rw-r--r--src/net/tmwa/questhandler.h4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp
index 8c0f7df03..3b8baac5e 100644
--- a/src/net/tmwa/questhandler.cpp
+++ b/src/net/tmwa/questhandler.cpp
@@ -33,7 +33,8 @@ namespace TmwAthena
{
QuestHandler::QuestHandler() :
- MessageHandler()
+ MessageHandler(),
+ Net::QuestHandler()
{
static const uint16_t _messages[] =
{
diff --git a/src/net/tmwa/questhandler.h b/src/net/tmwa/questhandler.h
index 1de4ed24f..51128a34d 100644
--- a/src/net/tmwa/questhandler.h
+++ b/src/net/tmwa/questhandler.h
@@ -23,10 +23,12 @@
#include "net/tmwa/messagehandler.h"
+#include "net/questhandler.h"
+
namespace TmwAthena
{
-class QuestHandler final : public MessageHandler
+class QuestHandler final : public MessageHandler, public Net::QuestHandler
{
public:
QuestHandler();