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/eathena/questhandler.cpp | 3 ++- src/net/eathena/questhandler.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/net/eathena') diff --git a/src/net/eathena/questhandler.cpp b/src/net/eathena/questhandler.cpp index ce892db88..18dbff5ee 100644 --- a/src/net/eathena/questhandler.cpp +++ b/src/net/eathena/questhandler.cpp @@ -33,7 +33,8 @@ namespace EAthena { QuestHandler::QuestHandler() : - MessageHandler() + MessageHandler(), + Net::QuestHandler() { static const uint16_t _messages[] = { diff --git a/src/net/eathena/questhandler.h b/src/net/eathena/questhandler.h index 47b774ad7..17671970d 100644 --- a/src/net/eathena/questhandler.h +++ b/src/net/eathena/questhandler.h @@ -23,10 +23,12 @@ #include "net/eathena/messagehandler.h" +#include "net/questhandler.h" + namespace EAthena { -class QuestHandler final : public MessageHandler +class QuestHandler final : public MessageHandler, public Net::QuestHandler { public: QuestHandler(); -- cgit v1.2.3-70-g09d2