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:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user