From 3f1d1fb205c540be94530b71bcfd707e90c58916 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Mon, 27 Dec 2021 16:51:17 -0500 Subject: [PATCH] Core/Movement: add missing parenthesis on MotionMaster::Size Port From (https://github.com/TrinityCore/TrinityCore/commit/6ae0a6ba22b55c0d6ae78300f5788c68f6505971) --- Source/Game/Movement/MotionMaster.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Movement/MotionMaster.cs b/Source/Game/Movement/MotionMaster.cs index a40d6d08f..b59bd7d0c 100644 --- a/Source/Game/Movement/MotionMaster.cs +++ b/Source/Game/Movement/MotionMaster.cs @@ -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 GetMovementGeneratorsInformation()