summaryrefslogtreecommitdiff
path: root/src/net/eathena/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/network.cpp')
-rw-r--r--src/net/eathena/network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/network.cpp b/src/net/eathena/network.cpp
index 934afe9f8..722d7f76b 100644
--- a/src/net/eathena/network.cpp
+++ b/src/net/eathena/network.cpp
@@ -147,7 +147,7 @@ void Network::dispatchMessages()
if (msgId < messagesSize)
{
- PacketFuncPtr func = mPackets[msgId].func;
+ const PacketFuncPtr func = mPackets[msgId].func;
if (func)
func(msg);
else