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
This commit is contained in:
StormBytePP committed 2015-08-27 00:39:14 +02:00
commit 4c420344fc
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;