From 422bc57ceeb440901e41d7a548ce748345e6fa74 Mon Sep 17 00:00:00 2001 From: Skjalf <47818697+Nyeriah@users.noreply.github.com> Date: Tue, 5 Sep 2023 22:45:14 -0300 Subject: [PATCH] fix warning (#27) --- src/mod-double-xp-weekend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) {