From 578bb8452fa8296b1bfdb00a995862b7fc0f19c0 Mon Sep 17 00:00:00 2001 From: MitchesD Date: Wed, 5 Aug 2015 16:50:55 +0200 Subject: Core/SmartScript: removed initial timer of SMART_EVENT_IC_LOS and SMART_EVENT_OOC_LOS Closes https://github.com/TrinityCore/TrinityCore/issues/14516 (cherry picked from commit e83a1c6b350575f784bd26c84b78d07b0bc2edbb) --- src/server/game/AI/SmartScripts/SmartScript.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') diff --git a/src/server/game/AI/SmartScripts/SmartScript.cpp b/src/server/game/AI/SmartScripts/SmartScript.cpp index 541a325cd69..9fa2269fd8b 100644 --- a/src/server/game/AI/SmartScripts/SmartScript.cpp +++ b/src/server/game/AI/SmartScripts/SmartScript.cpp @@ -3266,10 +3266,6 @@ void SmartScript::InitTimer(SmartScriptHolder& e) case SMART_EVENT_UPDATE_OOC: RecalcTimer(e, e.event.minMaxRepeat.min, e.event.minMaxRepeat.max); break; - case SMART_EVENT_IC_LOS: - case SMART_EVENT_OOC_LOS: - RecalcTimer(e, e.event.los.cooldownMin, e.event.los.cooldownMax); - break; case SMART_EVENT_DISTANCE_CREATURE: case SMART_EVENT_DISTANCE_GAMEOBJECT: RecalcTimer(e, e.event.distance.repeat, e.event.distance.repeat); -- cgit v1.2.3