Core/Unit: Do not remove aura with interrupt flag AURA_INTERRUPT_FLAG_NOT_UNDERWATER when already flying

This commit is contained in:
StormBytePP committed 2015-08-24 16:00:38 +02:00
1 parent 405f823f68
commit 70f029fd0a
1 file changed
+1 -1
+1 -1
View File
@@ -3192,7 +3192,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;