Skip to content

Commit

Permalink
Vehicle/Player: Do not save vehicle tracked auras to db
Browse files Browse the repository at this point in the history
  • Loading branch information
killerwife committed Jan 21, 2025
1 parent 1f6b710 commit 6beab3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/SpellAuras.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11054,7 +11054,7 @@ bool SpellAuraHolder::IsSaveToDbHolder() const
if (IsPassive() || IsChanneledSpell(GetSpellProto()) || IsItemAura(GetSpellProto()))
return false;

if (GetTrackedAuraType() == TRACK_AURA_TYPE_SINGLE_TARGET)
if (GetTrackedAuraType() == TRACK_AURA_TYPE_SINGLE_TARGET || GetTrackedAuraType() == TRACK_AURA_TYPE_CONTROL_VEHICLE)
return false;

if (m_spellProto->AuraInterruptFlags & AURA_INTERRUPT_FLAG_LEAVE_WORLD)
Expand Down

0 comments on commit 6beab3a

Please sign in to comment.