From b8ad6772fbc9d3f0917e0b39ec66d0004a267904 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 15 Sep 2014 23:41:37 +0300 Subject: Add base class for questhandler in net namespace. --- src/net/tmwa/questhandler.cpp | 3 ++- src/net/tmwa/questhandler.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa') 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(); -- cgit v1.2.3-70-g09d2