refactor(Core/Unit): Add naming for all ShapeshiftFlags (#20989)

This commit is contained in:
Jelle Meeus
2024-12-22 08:56:54 +01:00
committed by GitHub
parent dc79f26e04
commit f011cbb602
4 changed files with 25 additions and 4 deletions

View File

@@ -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;
}