summaryrefslogtreecommitdiff
path: root/src/game/AI/SmartScripts/SmartScript.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-09-25 15:09:21 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-09-25 15:09:21 +0200
commit7a0e6e7da2258cc17e8a5fff4bb69a770578551b (patch)
treebfa0df6fd16dedc8f62b860ecbc94729e0448a84 /src/game/AI/SmartScripts/SmartScript.cpp
parente687d223ffedc34e77dd9c2cbc3d68606d81f331 (diff)
Fixed and optimized EXTRA_LOGS code
about 1700 lines of code manually checked
Diffstat (limited to 'src/game/AI/SmartScripts/SmartScript.cpp')
-rw-r--r--src/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/AI/SmartScripts/SmartScript.cpp b/src/game/AI/SmartScripts/SmartScript.cpp
index 0bcdeb1d2f..ed7868baf3 100644
--- a/src/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/game/AI/SmartScripts/SmartScript.cpp
@@ -4103,9 +4103,7 @@ void SmartScript::FillScript(SmartAIEventList e, WorldObject* obj, AreaTriggerEn
#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
if (obj)
sLog->outDebug(LOG_FILTER_DATABASE_AI, "SmartScript: EventMap for Entry %u is empty but is using SmartScript.", obj->GetEntry());
-#endif
-#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
if (at)
sLog->outDebug(LOG_FILTER_DATABASE_AI, "SmartScript: EventMap for AreaTrigger %u is empty but is using SmartScript.", at->id);
#endif