From 9ed21eb5b176986dd73c2a467e665fe449499155 Mon Sep 17 00:00:00 2001 From: MitchesD Date: Thu, 2 Apr 2015 21:27:27 +0200 Subject: Core/SAI: fix typo --- 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 05a5441e3a0..d59f0130c9c 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -3248,7 +3248,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