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:
commit
4c420344fc
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user