summaryrefslogtreecommitdiff
path: root/src/map/quest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/quest.c')
-rw-r--r--src/map/quest.c5
1 files changed, 5 insertions, 0 deletions
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;
}