浏览代码

Quest SetCompleteFlag now updates player the quest is tied to

Fix #276
Image 3 年之前
父节点
当前提交
c83409daec
共有 1 个文件被更改,包括 2 次插入0 次删除
  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) {