From 7d0738df0d139af3175fcc1fec5b9be4a467f4f4 Mon Sep 17 00:00:00 2001 From: Stefan Dombrowski Date: Tue, 14 Sep 2010 17:55:53 +0200 Subject: 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. --- src/net/tmwa/beinghandler.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/net') 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 -- cgit v1.2.3-70-g09d2