SAI fixes follow-up: I missed one.

This commit is contained in:
treeston authored and Aokromes committed 2017-06-06 22:22:01 +02:00
1 parent 3cc2419c2f
commit 2b721ca16c
1 file changed
+1 -1
@@ -2662,8 +2662,8 @@ void SmartScript::ProcessTimedAction(SmartScriptHolder& e, uint32 const& min, ui
// We may want to execute action rarely and because of this if condition is not fulfilled the action will be rechecked in a long time
if (sConditionMgr->IsObjectMeetingSmartEventConditions(e.entryOrGuid, e.event_id, e.source_type, unit, GetBaseObject()))
{
ProcessAction(e, unit, var0, var1, bvar, spell, gob);
RecalcTimer(e, min, max);
ProcessAction(e, unit, var0, var1, bvar, spell, gob);
}
else
RecalcTimer(e, std::min<uint32>(min, 5000), std::min<uint32>(min, 5000));