Skip to content
Permalink
Browse files
Merge pull request #15347 from StormBytePP/3.3.5_fix_dismounting_when…
…_over_water

Core/Unit: Do not remove aura with interrupt flag AURA_INTERRUPT_FLAG_NOT_UNDERWATER when already flying
  • Loading branch information
StormBytePP committed Aug 26, 2015
2 parents c67118f + 70f029f commit 4c42034
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;

0 comments on commit 4c42034

Please sign in to comment.