Core/Misc: Code cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/ace33a464fa442d7d8dc331839d4e3efbaf63d57)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user