diff --git a/src/mod-double-xp-weekend.cpp b/src/mod-double-xp-weekend.cpp index f048983..6ee4df7 100644 --- a/src/mod-double-xp-weekend.cpp +++ b/src/mod-double-xp-weekend.cpp @@ -78,7 +78,7 @@ class DoubleXpWeekend : public PlayerScript } } - void OnGiveXP(Player* player, uint32& amount, Unit* victim, uint8 xpSource) override + void OnGiveXP(Player* player, uint32& amount, Unit* /*victim*/, uint8 xpSource) override { if (!IsEventActive()) {