summaryrefslogtreecommitdiff
path: root/src/game/AI/SmartScripts/SmartAI.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2017-08-20 04:48:07 +0200
committerYehonal <yehonal.azeroth@gmail.com>2017-08-20 04:48:07 +0200
commit0dd68dfbee97eb7ed2c9bd4109ba3f2aed697860 (patch)
tree072f2d6f3bf2f7a64d5533e670a978ef03276859 /src/game/AI/SmartScripts/SmartAI.cpp
parente471c1bb6a241cfffe9c7ae61aa502eba9a046a0 (diff)
Another huge compilation fix
please delete cache and re-run cmake
Diffstat (limited to 'src/game/AI/SmartScripts/SmartAI.cpp')
-rw-r--r--src/game/AI/SmartScripts/SmartAI.cpp4
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;