Core/Spells: Reorder CastSpellExtraArgsInit fields to reduce padding

(cherry picked from commit 4d3861928f)
This commit is contained in:
Shauren
2024-09-16 20:58:56 +02:00
committed by Ovahlord
parent b50b32a1d7
commit 7cbe91e3ba

View File

@@ -458,11 +458,11 @@ struct TC_GAME_API CastSpellTargetArg
struct CastSpellExtraArgsInit
{
TriggerCastFlags TriggerFlags = TRIGGERED_NONE;
Difficulty CastDifficulty = Difficulty(0);
Item* CastItem = nullptr;
Spell const* TriggeringSpell = nullptr;
AuraEffect const* TriggeringAura = nullptr;
ObjectGuid OriginalCaster = ObjectGuid::Empty;
Difficulty CastDifficulty = Difficulty(0);
ObjectGuid OriginalCastId = ObjectGuid::Empty;
Optional<int32> OriginalCastItemLevel;
struct SpellValueOverride