diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-10 18:06:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-10 18:06:14 +0300 |
commit | f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48 (patch) | |
tree | c8a8742c89a1b80f84f53a52728f3c87573f9616 | |
parent | 4ed8030f36a873fdf881f37c6dccbf28029ce22a (diff) | |
download | manaverse-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.tar.gz manaverse-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.tar.bz2 manaverse-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.tar.xz manaverse-f579c3eac923ff3eb7c0eb7c5c03a5dab0c1ca48.zip |
Improve reporting string about unimplimented packets.
-rw-r--r-- | src/logger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index e91480f7f..0c004cb64 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -362,7 +362,8 @@ void Logger::unimplimented(const int id) if (!mReportUnimplimented) return; - const std::string str = strprintf("Unimplimented packet: %d", id); + const std::string str = strprintf("Unimplimented packet: %d (0x%x)", + id, id); DebugMessageListener::distributeEvent(str); log(str); } |