summaryrefslogtreecommitdiff
path: root/src/game/Globals/ObjectAccessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Globals/ObjectAccessor.cpp')
-rw-r--r--src/game/Globals/ObjectAccessor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Globals/ObjectAccessor.cpp b/src/game/Globals/ObjectAccessor.cpp
index 03e1a856c3..904448bc65 100644
--- a/src/game/Globals/ObjectAccessor.cpp
+++ b/src/game/Globals/ObjectAccessor.cpp
@@ -313,7 +313,9 @@ Corpse* ObjectAccessor::ConvertCorpseForPlayer(uint64 player_guid, bool insignia
return NULL;
}
- ;//sLog->outStaticDebug("Deleting Corpse and spawned bones.");
+#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
+ sLog->outStaticDebug("Deleting Corpse and spawned bones.");
+#endif
// Map can be NULL
Map* map = corpse->FindMap();