Skip to content

Commit

Permalink
fixed compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehonal committed Jun 10, 2021
1 parent a1306a7 commit ba69b1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ class ChallengeModePlayer : public PlayerScript
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;
}
}
};
Expand Down

0 comments on commit ba69b1d

Please sign in to comment.