Core/Misc: Code cleanup

Port From (https://github.com/TrinityCore/TrinityCore/commit/ace33a464fa442d7d8dc331839d4e3efbaf63d57)
This commit is contained in:
hondacrx
2021-11-29 14:14:26 -05:00
parent 12e89ccc41
commit f218b72620
@@ -192,8 +192,7 @@ namespace Game.Movement
switch (cOwner.GetMovementTemplate().GetChase())
{
case CreatureChaseMovementType.CanWalk:
if (owner.IsWalking())
walk = true;
walk = owner.IsWalking();
break;
case CreatureChaseMovementType.AlwaysWalk:
walk = true;