Core/Movement: cleanup MovementGeneratorType
Port From (https://github.com/TrinityCore/TrinityCore/commit/dbe54973fbbcfca55316e03b8a27dcd6d115b543)
This commit is contained in:
@@ -149,7 +149,7 @@ namespace Game.Movement
|
||||
public MovementGeneratorType GetMotionSlotType(MovementSlot slot)
|
||||
{
|
||||
if (_slot[(int)slot] == null)
|
||||
return MovementGeneratorType.Null;
|
||||
return MovementGeneratorType.Max;
|
||||
else
|
||||
return _slot[(int)slot].GetMovementGeneratorType();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user