Browse Source

Quest SetCompleteFlag now updates player the quest is tied to

Fix #276
Image 3 years ago
parent
commit
c83409daec
1 changed files with 2 additions and 0 deletions
  1. 2 0
      EQ2/source/WorldServer/Quests.cpp

+ 2 - 0
EQ2/source/WorldServer/Quests.cpp

@@ -1722,6 +1722,8 @@ void Quest::SetLevel(int8 in_level) {
 void Quest::SetCompletedFlag(bool val) { 
 	completed_flag = val; 
 	SetUpdateRequired(true);
+	if(player && player->GetClient())
+		player->GetClient()->SendQuestJournalUpdate(this, true);
 }
 
 void Quest::SetStepTimer(int32 duration) {