mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Unit: Do not remove aura with interrupt flag AURA_INTERRUPT_FLAG_NOT_UNDERWATER when already flying
(cherry picked from commit 70f029fd0a)
This commit is contained in:
@@ -2971,7 +2971,7 @@ bool Unit::IsUnderWater() const
|
||||
|
||||
void Unit::UpdateUnderwaterState(Map* m, float x, float y, float z)
|
||||
{
|
||||
if (!IsPet() && !IsVehicle())
|
||||
if (IsFlying() || (!IsPet() && !IsVehicle()))
|
||||
return;
|
||||
|
||||
LiquidData liquid_status;
|
||||
|
||||
Reference in New Issue
Block a user