diff options
author | Stefan Dombrowski <stefan@uni-bonn.de> | 2010-09-14 17:55:53 +0200 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-09-15 23:42:25 +0200 |
commit | 7d0738df0d139af3175fcc1fec5b9be4a467f4f4 (patch) | |
tree | f92a6f9a29ba541889e008cf0d46673a0f1bdf1b | |
parent | af176c1f344a78a352ecaa6f252054f5ac38ec73 (diff) | |
download | mana-7d0738df0d139af3175fcc1fec5b9be4a467f4f4.tar.gz mana-7d0738df0d139af3175fcc1fec5b9be4a467f4f4.tar.bz2 mana-7d0738df0d139af3175fcc1fec5b9be4a467f4f4.tar.xz mana-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.
-rw-r--r-- | src/net/tmwa/beinghandler.cpp | 8 |
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 |