aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortreeston <treeston.mmoc@gmail.com>2017-06-06 22:24:10 +0200
committerCarbenium <carbenium@outlook.com>2020-07-16 21:47:27 +0200
commitbb7061407fcd278ab6f669867381c514e8ccfcce (patch)
treefdbcb0ad3c158d4efdd4f0e68a421d0351ffbf54
parente6145a8ec4aee285a9f9da4d252d832b5e73fff0 (diff)
SAI fixes follow-up: I missed one.
(cherry picked from commit cb265e02aa38c17e203191b68966879a1ccb7b31)
-rw-r--r--src/server/game/AI/SmartScripts/SmartScript.cpp2
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));