From 2b721ca16c09aa276fc7e419b991430d783614df Mon Sep 17 00:00:00 2001 From: treeston Date: Tue, 6 Jun 2017 22:24:10 +0200 Subject: [PATCH] SAI fixes follow-up: I missed one. --- src/server/game/AI/SmartScripts/SmartScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 2a2e793ef3..76a878f249 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -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(min, 5000), std::min(min, 5000));