summaryrefslogtreecommitdiff
path: root/src/messagein.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/messagein.cpp')
-rw-r--r--src/messagein.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/messagein.cpp b/src/messagein.cpp
index 6a27f280..f5eaefed 100644
--- a/src/messagein.cpp
+++ b/src/messagein.cpp
@@ -28,6 +28,8 @@ MessageIn::MessageIn(Packet *packet):
mPacket(packet),
mPos(0)
{
+ // Read the message ID
+ mId = readShort();
}
MessageIn::~MessageIn()