summaryrefslogtreecommitdiff
path: root/src/game/Handlers/CombatHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Handlers/CombatHandler.cpp')
-rw-r--r--src/game/Handlers/CombatHandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Handlers/CombatHandler.cpp b/src/game/Handlers/CombatHandler.cpp
index 0d91902687..c59d10bdbd 100644
--- a/src/game/Handlers/CombatHandler.cpp
+++ b/src/game/Handlers/CombatHandler.cpp
@@ -21,7 +21,9 @@ void WorldSession::HandleAttackSwingOpcode(WorldPacket& recvData)
uint64 guid;
recvData >> guid;
- ;//sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: Recvd CMSG_ATTACKSWING Message guidlow:%u guidhigh:%u", GUID_LOPART(guid), GUID_HIPART(guid));
+#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
+ sLog->outDebug(LOG_FILTER_NETWORKIO, "WORLD: Recvd CMSG_ATTACKSWING Message guidlow:%u guidhigh:%u", GUID_LOPART(guid), GUID_HIPART(guid));
+#endif
Unit* pEnemy = ObjectAccessor::GetUnit(*_player, guid);