Core/Movement: add missing parenthesis on MotionMaster::Size
Port From (https://github.com/TrinityCore/TrinityCore/commit/6ae0a6ba22b55c0d6ae78300f5788c68f6505971)
This commit is contained in:
@@ -127,7 +127,7 @@ namespace Game.Movement
|
|||||||
|
|
||||||
public int Size()
|
public int Size()
|
||||||
{
|
{
|
||||||
return _defaultGenerator != null ? 1 : 0 + _generators.Count;
|
return (_defaultGenerator != null ? 1 : 0) + _generators.Count;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<MovementGeneratorInformation> GetMovementGeneratorsInformation()
|
public List<MovementGeneratorInformation> GetMovementGeneratorsInformation()
|
||||||
|
|||||||
Reference in New Issue
Block a user