From 3fb307be68de6026df138b2d48f2f6b94dbec64f Mon Sep 17 00:00:00 2001 From: malufett Date: Sun, 11 Aug 2013 18:26:00 -0700 Subject: Follow up @ d8b2eb622f14e10e4da0e521deb5dee6e849affa -Quest log counter should now work properly upon login. --- src/map/quest.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/map') diff --git a/src/map/quest.c b/src/map/quest.c index 78902fedf..cf78430a4 100644 --- a/src/map/quest.c +++ b/src/map/quest.c @@ -49,11 +49,16 @@ int quest_search_db(int quest_id) //Send quest info on login int quest_pc_login(TBL_PC * sd) { + int i; + if(sd->avail_quests == 0) return 1; clif->quest_send_list(sd); clif->quest_send_mission(sd); + for( i = 0; i < sd->avail_quests; i++ ) { + clif->quest_update_objective(sd, &sd->quest_log[i], sd->quest_index[i]); + } return 0; } -- cgit v1.2.3-60-g2f50