summaryrefslogtreecommitdiff
path: root/src/net/manaserv/specialhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/specialhandler.cpp')
-rw-r--r--src/net/manaserv/specialhandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/manaserv/specialhandler.cpp b/src/net/manaserv/specialhandler.cpp
index 55ea3ee0..2e152d60 100644
--- a/src/net/manaserv/specialhandler.cpp
+++ b/src/net/manaserv/specialhandler.cpp
@@ -24,10 +24,10 @@
#include "net/manaserv/gameserver/internal.h"
#include "net/manaserv/connection.h"
+#include "net/manaserv/messagein.h"
+#include "net/manaserv/messageout.h"
#include "net/manaserv/protocol.h"
-#include "net/messageout.h"
-
Net::SpecialHandler *specialHandler;
namespace ManaServ {
@@ -37,7 +37,7 @@ SpecialHandler::SpecialHandler()
specialHandler = this;
}
-void SpecialHandler::handleMessage(MessageIn &msg)
+void SpecialHandler::handleMessage(Net::MessageIn &msg)
{
// TODO
}
@@ -46,7 +46,7 @@ void SpecialHandler::use(int id)
{
MessageOut msg(PGMSG_USE_SPECIAL);
msg.writeInt8(id);
- Net::GameServer::connection->send(msg);
+ GameServer::connection->send(msg);
}
void SpecialHandler::use(int id, int level, int beingId)