diff options
Diffstat (limited to 'src/game/AI/SmartScripts/SmartAI.cpp')
-rw-r--r-- | src/game/AI/SmartScripts/SmartAI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/AI/SmartScripts/SmartAI.cpp b/src/game/AI/SmartScripts/SmartAI.cpp index 95b1a5208e..f8e6f26248 100644 --- a/src/game/AI/SmartScripts/SmartAI.cpp +++ b/src/game/AI/SmartScripts/SmartAI.cpp @@ -1096,7 +1096,7 @@ void SmartGameObjectAI::Reset() // Called when a player opens a gossip dialog with the gameobject. bool SmartGameObjectAI::GossipHello(Player* player, bool reportUse) { -#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS +#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS) sLog->outDebug(LOG_FILTER_DATABASE_AI, "SmartGameObjectAI::GossipHello"); #endif GetScript()->ProcessEventsFor(SMART_EVENT_GOSSIP_HELLO, player, (uint32)reportUse, 0, false, NULL, go); @@ -1179,7 +1179,7 @@ class SmartTrigger : public AreaTriggerScript if (!player->IsAlive()) return false; -#ifdef ENABLE_EXTRAS && ENABLE_EXTRA_LOGS +#if defined(ENABLE_EXTRAS) && defined(ENABLE_EXTRA_LOGS) sLog->outDebug(LOG_FILTER_DATABASE_AI, "AreaTrigger %u is using SmartTrigger script", trigger->id); #endif SmartScript script; |