summaryrefslogtreecommitdiff
path: root/src/game/AI/SmartScripts/SmartScriptMgr.h
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-08-20 04:59:52 +0200
committerGitHub <noreply@github.com>2017-08-20 04:59:52 +0200
commitc854b658828f66f69b13eb62c6a984de8e345b45 (patch)
tree0118efcdd8898db4857961009f8eac79ca27b4d4 /src/game/AI/SmartScripts/SmartScriptMgr.h
parentfa147d84d29b6ebd99af6f8eb9eb39476d2f0228 (diff)
parent0dd68dfbee97eb7ed2c9bd4109ba3f2aed697860 (diff)
Merge branch 'master' into master
Diffstat (limited to 'src/game/AI/SmartScripts/SmartScriptMgr.h')
-rw-r--r--src/game/AI/SmartScripts/SmartScriptMgr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/AI/SmartScripts/SmartScriptMgr.h b/src/game/AI/SmartScripts/SmartScriptMgr.h
index b53f3851cd..ecacd1b211 100644
--- a/src/game/AI/SmartScripts/SmartScriptMgr.h
+++ b/src/game/AI/SmartScripts/SmartScriptMgr.h
@@ -1635,7 +1635,9 @@ class SmartAIMgr
else
{
//if (entry > 0)//first search is for guid (negative), do not drop error if not found
- ;//sLog->outDebug(LOG_FILTER_DATABASE_AI, "SmartAIMgr::GetScript: Could not load Script for Entry %d ScriptType %u.", entry, uint32(type));
+#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS)
+ sLog->outDebug(LOG_FILTER_DATABASE_AI, "SmartAIMgr::GetScript: Could not load Script for Entry %d ScriptType %u.", entry, uint32(type));
+#endif
return temp;
}
}