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