aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsilinoron <none@none>2010-10-27 20:03:42 -0700
committersilinoron <none@none>2010-10-27 20:03:42 -0700
commitf1f18239018c73de60d3cf37ccce0e6f74858223 (patch)
tree75bb57d096f4663c8e1067cb17e2ece8e739aa64 /src
parentda4c2339bc021573d90426c8bc3f535b5dc950e8 (diff)
Core/SmartScript: Fix a compile error.
Thanks Aokromes for telling me it existed. --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp
index b95e4c108b3..f9be60063eb 100644
--- a/src/server/game/AI/SmartScripts/SmartScript.cpp
+++ b/src/server/game/AI/SmartScripts/SmartScript.cpp
@@ -1749,7 +1749,7 @@ void SmartScript::FillScript(SmartAIEventList e, WorldObject* obj, AreaTriggerEn
for (SmartAIEventList::iterator i = e.begin(); i != e.end(); ++i)
{
#ifndef TRINITY_DEBUG
- if ((*i).event.event_flags & EFLAG_DEBUG_ONLY)
+ if ((*i).event.event_flags & SMART_EVENT_FLAG_DEBUG_ONLY)
continue;
#endif