From cb265e02aa38c17e203191b68966879a1ccb7b31 Mon Sep 17 00:00:00 2001 From: treeston Date: Tue, 6 Jun 2017 22:24:10 +0200 Subject: SAI fixes follow-up: I missed one. --- src/server/game/AI/SmartScripts/SmartScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 5fc9c1e49f7..8edd17ca2ba 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -2020,8 +2020,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)); -- cgit v1.2.3