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()) switch (cOwner.GetMovementTemplate().GetChase())
{ {
case CreatureChaseMovementType.CanWalk: case CreatureChaseMovementType.CanWalk:
if (owner.IsWalking()) walk = owner.IsWalking();
walk = true;
break; break;
case CreatureChaseMovementType.AlwaysWalk: case CreatureChaseMovementType.AlwaysWalk:
walk = true; walk = true;