summaryrefslogtreecommitdiff
path: root/src/net/messagehandler.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-20 16:14:12 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-08-20 16:14:12 +0000
commit2fe42d32c6d368a66586c605cc1b38ee8d85ed1d (patch)
tree705a76dffde116ddbffb5cba9aa45e4b0700f280 /src/net/messagehandler.h
parent292f3e50a59b06bf129893b352466d7d54fa3d71 (diff)
downloadmana-2fe42d32c6d368a66586c605cc1b38ee8d85ed1d.tar.gz
mana-2fe42d32c6d368a66586c605cc1b38ee8d85ed1d.tar.bz2
mana-2fe42d32c6d368a66586c605cc1b38ee8d85ed1d.tar.xz
mana-2fe42d32c6d368a66586c605cc1b38ee8d85ed1d.zip
Changed MessageHandler::handleMessage to take a reference instead of a pointer.
Removed unused Packet class. Added stub for handling GPMSG_BEING_ENTER.
Diffstat (limited to 'src/net/messagehandler.h')
-rw-r--r--src/net/messagehandler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/messagehandler.h b/src/net/messagehandler.h
index c09037f6..9f92636d 100644
--- a/src/net/messagehandler.h
+++ b/src/net/messagehandler.h
@@ -37,7 +37,7 @@ class MessageHandler
MessageHandler();
virtual ~MessageHandler();
- virtual void handleMessage(MessageIn *msg) =0;
+ virtual void handleMessage(MessageIn &msg) = 0;
void setNetwork(Network *network);