Core/SmartScript: Fix a compile error.

Thanks Aokromes for telling me it existed.

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-10-27 20:03:42 -07:00
parent da4c2339bc
commit f1f1823901

View File

@@ -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