Explorar el Código

crash fix on quests due to uninitialized value

Image hace 3 años
padre
commit
db6f98058d
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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(){