mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 05:36:23 +00:00
Fixed and optimized EXTRA_LOGS code
about 1700 lines of code manually checked
This commit is contained in:
@@ -121,8 +121,8 @@ bool AddonHandler::BuildAddonPacket(WorldPacket* Source, WorldPacket* Target)
|
||||
uint32 count = 0;
|
||||
*Target << uint32(count);
|
||||
|
||||
//if (AddOnPacked.rpos() != AddOnPacked.size())
|
||||
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
|
||||
if (AddOnPacked.rpos() != AddOnPacked.size())
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "packet under read!");
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user