Core/AI: fix debug / nix build
--HG-- branch : trunk
This commit is contained in:
1 parent
5cb119e617
commit
afe683aff4
2 files changed
+7
-2
No files matched your search
@@ -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_flags & EFLAG_DEBUG_ONLY)
|
||||
if ((*i).event.event_flags & EFLAG_DEBUG_ONLY)
|
||||
continue;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user