fixed compilation

This commit is contained in:
Yehonal
2021-06-10 19:07:57 +02:00
parent a1306a7480
commit ba69b1df60

View File

@@ -58,10 +58,10 @@ public:
return sChallengeMode->isEligibleForReward(player);
}
void OnGivePlayerXP(Player* player, uint32& amount, Unit* /* victim */) override
void OnGiveXP(Player* player, uint32& amount, Unit* /* victim */) override
{
if (!sChallengeMode->isEligibleForReward(player)) {
amount = 0
amount = 0;
}
}
};