summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/manaserv/npchandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/manaserv/npchandler.cpp b/src/net/manaserv/npchandler.cpp
index 8c14f3dfc..8ff2c5d21 100644
--- a/src/net/manaserv/npchandler.cpp
+++ b/src/net/manaserv/npchandler.cpp
@@ -63,7 +63,7 @@ void NpcHandler::handleMessage(Net::MessageIn &msg)
return;
int npcId = being->getId();
- NpcDialogs::const_iterator diag = mNpcDialogs.find(npcId);
+ NpcDialogs::iterator diag = mNpcDialogs.find(npcId);
NpcDialog *dialog;
if (diag == mNpcDialogs.end())