Core/SAI: changed multiple validation checks

This commit is contained in:
joschiwald committed 2014-10-11 18:52:01 +02:00
1 parent 51f3dcd2cd
commit 90a2acfbdf
4 files changed
+116 -129

No files matched your search

@@ -257,21 +257,6 @@ class SmartScript
}
}
}
SmartScriptHolder FindLinkedEvent(uint32 link)
{
if (!mEvents.empty())
{
for (SmartAIEventList::iterator i = mEvents.begin(); i != mEvents.end(); ++i)
{
if (i->event_id == link)
{
return (*i);
}
}
}
SmartScriptHolder s;
return s;
}
};
#endif