update code to compile with latest azerothcore server code

fix code to compile with latest version of azeroth core server
This commit is contained in:
Jaytapp
2025-05-23 16:57:07 -04:00
parent 451bebbfdb
commit a61cae53f4
4 changed files with 44 additions and 42 deletions

View File

@@ -1392,7 +1392,7 @@ class NaxxPlayerScript : public PlayerScript
public:
NaxxPlayerScript() : PlayerScript("NaxxPlayerScript") { }
void OnBeforeChooseGraveyard(Player* player, TeamId /*teamId*/, bool /*nearCorpse*/, uint32& graveyardOverride) override
void OnPlayerBeforeChooseGraveyard(Player* player, TeamId /*teamId*/, bool /*nearCorpse*/, uint32& graveyardOverride) override
{
if (player->GetMapId() == MAP_NAXX && player->GetMap()->GetSpawnMode() == RAID_DIFFICULTY_10MAN_HEROIC)
{