diff options
author | Jelle Meeus <sogladev@gmail.com> | 2024-12-22 08:56:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-22 08:56:54 +0100 |
commit | f011cbb60284109c2a66f042f34caa110cd961f3 (patch) | |
tree | 41b5c7d6d4eb2fd2e4e646a2e440e04c4de804c9 /src/server/game/Spells/Spell.cpp | |
parent | dc79f26e0464fe63e1bcd78fd5c3bd8ade0b299a (diff) |
refactor(Core/Unit): Add naming for all ShapeshiftFlags (#20989)
Diffstat (limited to 'src/server/game/Spells/Spell.cpp')
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 7e70af2be8..c3d8fac76b 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5832,7 +5832,7 @@ SpellCastResult Spell::CheckCast(bool strict) if (effInfo->ApplyAuraName == SPELL_AURA_MOD_SHAPESHIFT) { SpellShapeshiftFormEntry const* shapeShiftEntry = sSpellShapeshiftFormStore.LookupEntry(effInfo->MiscValue); - if (shapeShiftEntry && (shapeShiftEntry->flags1 & 1) == 0) // unk flag + if (shapeShiftEntry && (shapeShiftEntry->flags1 & SHAPESHIFT_FLAG_STANCE) == 0) checkMask |= VEHICLE_SEAT_FLAG_UNCONTROLLED; break; } |