Core/SAI: Fixed unused param validation for SMART_ACTION_MOVE_OFFSET

Port From (https://github.com/TrinityCore/TrinityCore/commit/abe84b9acffab8b710849f9b8b57bdde483921a1)
This commit is contained in:
hondacrx
2023-01-04 16:57:07 -05:00
parent 1d6edf58d6
commit 4dc96a801c
@@ -777,7 +777,7 @@ namespace Game.AI
SmartActions.GameEventStop => Marshal.SizeOf(typeof(SmartAction.GameEventStop)),
SmartActions.GameEventStart => Marshal.SizeOf(typeof(SmartAction.GameEventStart)),
SmartActions.StartClosestWaypoint => Marshal.SizeOf(typeof(SmartAction.ClosestWaypointFromList)),
SmartActions.MoveOffset => 0,
SmartActions.MoveOffset => Marshal.SizeOf(typeof(SmartAction.MoveOffset)),
SmartActions.RandomSound => Marshal.SizeOf(typeof(SmartAction.RandomSound)),
SmartActions.SetCorpseDelay => Marshal.SizeOf(typeof(SmartAction.CorpseDelay)),
SmartActions.DisableEvade => Marshal.SizeOf(typeof(SmartAction.DisableEvade)),