Pārlūkot izejas kodu

crash fix on quests due to uninitialized value

Image 3 gadi atpakaļ
vecāks
revīzija
db6f98058d
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      EQ2/source/WorldServer/Quests.cpp

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

@@ -331,6 +331,7 @@ Quest::Quest(int32 in_id){
 	quest_state_temporary = false;
 	tmp_reward_status = 0;
 	tmp_reward_coins = 0;
+	completed_description = string("");
 }
 
 Quest::Quest(Quest* old_quest){
@@ -404,6 +405,7 @@ Quest::Quest(Quest* old_quest){
 	quest_state_temporary = false;
 	tmp_reward_status = 0;
 	tmp_reward_coins = 0;
+	completed_description = string("");
 }
 
 Quest::~Quest(){