summaryrefslogtreecommitdiff
path: root/src/game/AI/SmartScripts/SmartScriptMgr.h
diff options
context:
space:
mode:
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;
}
}