diff options
author | treeston <treeston.mmoc@gmail.com> | 2017-06-06 22:24:10 +0200 |
---|---|---|
committer | Carbenium <carbenium@outlook.com> | 2020-07-16 21:47:27 +0200 |
commit | bb7061407fcd278ab6f669867381c514e8ccfcce (patch) | |
tree | fdbcb0ad3c158d4efdd4f0e68a421d0351ffbf54 | |
parent | e6145a8ec4aee285a9f9da4d252d832b5e73fff0 (diff) |
SAI fixes follow-up: I missed one.
(cherry picked from commit cb265e02aa38c17e203191b68966879a1ccb7b31)
-rw-r--r-- | src/server/game/AI/SmartScripts/SmartScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 54d5b5f7fb4..a46c4f52993 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -2277,8 +2277,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, varString); RecalcTimer(e, min, max); + ProcessAction(e, unit, var0, var1, bvar, spell, gob, varString); } else RecalcTimer(e, std::min<uint32>(min, 5000), std::min<uint32>(min, 5000)); |