summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorStefan Dombrowski <stefan@uni-bonn.de>2010-09-14 17:55:53 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-09-15 23:42:25 +0200
commit7d0738df0d139af3175fcc1fec5b9be4a467f4f4 (patch)
treef92a6f9a29ba541889e008cf0d46673a0f1bdf1b /src/net/tmwa
parentaf176c1f344a78a352ecaa6f252054f5ac38ec73 (diff)
downloadmana-client-7d0738df0d139af3175fcc1fec5b9be4a467f4f4.tar.gz
mana-client-7d0738df0d139af3175fcc1fec5b9be4a467f4f4.tar.bz2
mana-client-7d0738df0d139af3175fcc1fec5b9be4a467f4f4.tar.xz
mana-client-7d0738df0d139af3175fcc1fec5b9be4a467f4f4.zip
Avoid log message for unhandled SMSG_BEING_SPAWN
This log message shows up in mana.log: "Unhandled packet: 7c". Later, the client will have to actually take care of it, though. Reviewed-by: Bertram, jaxad0127.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/beinghandler.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 04690c50..889f8777 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -48,6 +48,7 @@ BeingHandler::BeingHandler(bool enableSync):
static const Uint16 _messages[] = {
SMSG_BEING_VISIBLE,
SMSG_BEING_MOVE,
+ SMSG_BEING_SPAWN,
SMSG_BEING_MOVE2,
SMSG_BEING_REMOVE,
SMSG_SKILL_DAMAGE,
@@ -236,6 +237,13 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
dstBeing->setStatusEffectBlock(16, statusEffects & 0xffff);
break;
+ case SMSG_BEING_SPAWN:
+ /*
+ * TODO: This packet might need handling in the future.
+ */
+ // Do nothing.
+ break;
+
case SMSG_BEING_MOVE2:
/*
* A simplified movement packet, used by the