Core/Unit: Fix movement hiccups in water
Port From (https://github.com/TrinityCore/TrinityCore/commit/6b242eee130f1ac405187a03cefaf595d857ad99)
This commit is contained in:
@@ -417,6 +417,10 @@ namespace Game.Entities
|
||||
|
||||
AddUnitState(UnitState.Charmed);
|
||||
|
||||
Creature creature = ToCreature();
|
||||
if (creature != null)
|
||||
creature.RefreshSwimmingFlag();
|
||||
|
||||
if (!IsPlayer() || !charmer.IsPlayer())
|
||||
{
|
||||
// AI will schedule its own change if appropriate
|
||||
|
||||
Reference in New Issue
Block a user