mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Creatures: Don't remove hovering from creatures that can fly (#28217)
This commit is contained in:
@@ -2789,7 +2789,7 @@ void Creature::UpdateMovementFlags()
|
||||
else
|
||||
SetDisableGravity(true);
|
||||
|
||||
if (!HasAuraType(SPELL_AURA_HOVER))
|
||||
if (!HasAuraType(SPELL_AURA_HOVER) && GetMovementTemplate().Ground != CreatureGroundMovementType::Hover)
|
||||
SetHover(false);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user