diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-05-12 22:26:16 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-05-12 22:26:16 +0200 |
commit | dd10ac27fee1fa91661422458d22bb1d2dbab6de (patch) | |
tree | f7451a847e7ee72fd40a41cf81a78889eea73eea | |
parent | 2f4c412f4c13c7ae02d3d3ae715c3099395bcf70 (diff) |
Core/Auras: Don't force sitting state from non-standing state when applying auras with SpellAuraInterruptFlags::Standing
Closes #28973
-rw-r--r-- | src/server/game/Entities/Unit/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 448edf16304..12fdafb6887 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -3382,7 +3382,7 @@ void Unit::_ApplyAura(AuraApplication* aurApp, uint8 effMask) return; // Sitdown on apply aura req seated - if (aura->GetSpellInfo()->AuraInterruptFlags & AURA_INTERRUPT_FLAG_NOT_SEATED && !IsSitState()) + if (aura->GetSpellInfo()->AuraInterruptFlags & AURA_INTERRUPT_FLAG_NOT_SEATED && IsStandState()) SetStandState(UNIT_STAND_STATE_SIT); Unit* caster = aura->GetCaster(); |