diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-01 18:06:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-01 18:06:39 +0300 |
commit | e6977ace705cea79b5661ca766ae07dd435f0ef6 (patch) | |
tree | 8d305a3436b7d2ee385cd9082131c84146c0615c /src/net | |
parent | 249550563325af4043ed864f676c18d386428b19 (diff) | |
download | manaplus-e6977ace705cea79b5661ca766ae07dd435f0ef6.tar.gz manaplus-e6977ace705cea79b5661ca766ae07dd435f0ef6.tar.bz2 manaplus-e6977ace705cea79b5661ca766ae07dd435f0ef6.tar.xz manaplus-e6977ace705cea79b5661ca766ae07dd435f0ef6.zip |
Add debug messages to some packets.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/beingrecv.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/beingrecv.cpp b/src/net/tmwa/beingrecv.cpp index f46ff373f..1d4fd9648 100644 --- a/src/net/tmwa/beingrecv.cpp +++ b/src/net/tmwa/beingrecv.cpp @@ -1152,6 +1152,7 @@ void BeingRecv::processBeingChangeDirection(Net::MessageIn &msg) if (!dstBeing) { + DEBUGLOGSTR("invisible player?"); msg.readInt16("unused"); msg.readUInt8("direction"); BLOCK_END("BeingRecv::processBeingChangeDirection"); @@ -1182,7 +1183,7 @@ void BeingRecv::processPlaterStatusChange(Net::MessageIn &msg) Being *const dstBeing = actorManager->findBeing(id); if (!dstBeing) { - logger->log("invisible player?"); + DEBUGLOGSTR("invisible player?"); msg.readInt16("stun mode"); msg.readInt16("status effect"); msg.readInt16("opt?"); |