Core/Packet: send SMSG_QUESTGIVER_STATUS_MULTIPLE when the player levels up. (#23434)

Ensures that nearby questgivers are properly updated and will offer quests unlocked at the new level reached.
This commit is contained in:
Wyrserth
2019-06-18 08:58:06 +02:00
committed by Giacomo Pozzoni
parent 17671c633c
commit cb8b1069c4

View File

@@ -2668,6 +2668,8 @@ void Player::GiveLevel(uint8 level)
SetByteFlag(PLAYER_FIELD_BYTES, PLAYER_FIELD_BYTES_OFFSET_RAF_GRANTABLE_LEVEL, 0x01);
}
SendQuestGiverStatusMultiple();
sScriptMgr->OnPlayerLevelChanged(this, oldLevel);
}