diff options
| author | MitchesD <majklprofik@seznam.cz> | 2015-04-02 21:27:27 +0200 |
|---|---|---|
| committer | MitchesD <majklprofik@seznam.cz> | 2015-04-02 21:27:27 +0200 |
| commit | 9ed21eb5b176986dd73c2a467e665fe449499155 (patch) | |
| tree | d2b1afa4639f42768e526f97e3edcc912b0d230d | |
| parent | 7c776ddadfb8bae78739b4436b180ede0a5f485e (diff) | |
Core/SAI: fix typo
| -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 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()); |
