Core/SAI: fix typo

(cherry picked from commit 9ed21eb5b176986dd73c2a467e665fe449499155)
This commit is contained in:
MitchesD committed 2015-04-02 21:28:44 +02:00
1 parent 037fd1b1bb
commit a3a7d65c20
1 file changed
+1 -1
@@ -3218,7 +3218,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());