Core/Quests: ported quest flag and visbility update changes from master branch

This commit is contained in:
Ovahlord committed 2023-07-11 15:21:09 +02:00
1 parent 833b77c05e
commit a3dd0d75cf
16 files changed
+282 -278

No files matched your search

+2
View File
@@ -609,6 +609,8 @@ void WorldSession::LogoutPlayer(bool save)
///- Clear whisper whitelist
_player->ClearWhisperWhiteList();
_player->FailQuestsWithFlag(QUEST_FLAGS_FAIL_ON_LOGOUT);
///- empty buyback items and save the player in the database
// some save parts only correctly work in case player present in map/player_lists (pets, etc)
if (save)