From 93fa363d9a373db05fde66440e253bc55d64d696 Mon Sep 17 00:00:00 2001 From: MitchesD Date: Thu, 2 Apr 2015 21:27:27 +0200 Subject: Core/SAI: fix typo (cherry picked from commit 9ed21eb5b176986dd73c2a467e665fe449499155) --- 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 35538d2a489..a5698092d69 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -3215,7 +3215,7 @@ void SmartScript::ProcessEvent(SmartScriptHolder& e, Unit* unit, uint32 var0, ui } case SMART_EVENT_COUNTER_SET: if (GetCounterId(e.event.counter.id) != 0 && GetCounterValue(e.event.counter.id) == e.event.counter.value) - ProcessTimedAction(e, e.event.counter.cooldownMax, e.event.counter.cooldownMax); + ProcessTimedAction(e, e.event.counter.cooldownMin, e.event.counter.cooldownMax); break; default: TC_LOG_ERROR("sql.sql", "SmartScript::ProcessEvent: Unhandled Event type %u", e.GetEventType()); -- cgit v1.2.3