From 5129aec41d33947923a91604647a5936e49ae009 Mon Sep 17 00:00:00 2001 From: Inkfish Date: Tue, 28 Jul 2009 04:04:50 +0000 Subject: * Some more updates to Quest Log - Implemented a new saving mechanism. Now they can be saved every 'autosave_time' in case the char-server is not online when you get a quest. - Improved 'changequest' code. - Increase MAX_QUEST_DB to 1200. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13973 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index abcb9f469..c6020e05c 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -34,7 +34,6 @@ #include "date.h" #include "quest.h" - #include #include #include @@ -1993,9 +1992,10 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type) clif_mission_info(sd, temp, 0); } pc_setglobalreg(sd,"TK_MISSION_COUNT", sd->mission_count); + + if( sd->avail_quests ) + quest_update_objective(sd, md->class_); } - if( sd->avail_quests ) - quest_update_objective(sd, md->class_); } // filter out entries not eligible for exp distribution -- cgit v1.2.3-70-g09d2