Core/Movement: add missing parenthesis on MotionMaster::Size

Port From (https://github.com/TrinityCore/TrinityCore/commit/6ae0a6ba22b55c0d6ae78300f5788c68f6505971)
This commit is contained in:
hondacrx
2021-12-27 16:51:17 -05:00
parent 0dda317989
commit 3f1d1fb205
+1 -1
View File
@@ -127,7 +127,7 @@ namespace Game.Movement
public int Size()
{
return _defaultGenerator != null ? 1 : 0 + _generators.Count;
return (_defaultGenerator != null ? 1 : 0) + _generators.Count;
}
public List<MovementGeneratorInformation> GetMovementGeneratorsInformation()