summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/npchandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-05 23:18:50 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-05 23:19:21 +0200
commit96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe (patch)
tree049c627092239266e3c8443375b5116cc06a207d /src/net/tmwserv/npchandler.cpp
parentc5afd22e3d7066837e8dd812d60cf8ce5ca0f2b2 (diff)
downloadmana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.tar.gz
mana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.tar.bz2
mana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.tar.xz
mana-96e56ba80110b54af0ee8ebb3410bd4d9d21cdfe.zip
Fixed compile warnings
Initialization order, return values, unused variables, missing enumerator.
Diffstat (limited to 'src/net/tmwserv/npchandler.cpp')
-rw-r--r--src/net/tmwserv/npchandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwserv/npchandler.cpp b/src/net/tmwserv/npchandler.cpp
index bae5228c..4acd2eee 100644
--- a/src/net/tmwserv/npchandler.cpp
+++ b/src/net/tmwserv/npchandler.cpp
@@ -32,7 +32,7 @@
#include "gui/npcpostdialog.h"
#include "gui/npc_text.h"
-NPCHandler::NPCHandler()
+NpcHandler::NpcHandler()
{
static const Uint16 _messages[] = {
GPMSG_NPC_CHOICE,
@@ -44,7 +44,7 @@ NPCHandler::NPCHandler()
handledMessages = _messages;
}
-void NPCHandler::handleMessage(MessageIn &msg)
+void NpcHandler::handleMessage(MessageIn &msg)
{
Being *being = beingManager->findBeing(msg.readInt16());
if (!being || being->getType() != Being::NPC)