Skip to content

Commit

Permalink
PeriodicTriggerData: fix member initializer list.
Browse files Browse the repository at this point in the history
This also fixes a GCC/clang 'unused parameter' [-Wunused-parameter]
compiler warning.
  • Loading branch information
evil-at-wow committed Feb 12, 2024
1 parent 8c88bcf commit 9809df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/Spells/Scripts/SpellScript.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct PeriodicTriggerData
SpellEntry const* spellInfo;
int32* basePoints;
PeriodicTriggerData(WorldObject* trueCaster, Unit* caster, Unit* target, WorldObject* targetObject, SpellEntry const* spellInfo, int32* basePoints) :
trueCaster(nullptr), caster(caster), target(target), targetObject(targetObject), spellInfo(spellInfo), basePoints(basePoints) {}
trueCaster(trueCaster), caster(caster), target(target), targetObject(targetObject), spellInfo(spellInfo), basePoints(basePoints) {}
};

struct SpellScript
Expand Down

0 comments on commit 9809df5

Please sign in to comment.