diff options
author | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-28 05:48:17 +0000 |
---|---|---|
committer | Inkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-07-28 05:48:17 +0000 |
commit | 09c4d1ef3a04c03e254b16324cf3a2b83f1d0316 (patch) | |
tree | 0a449b1bf962580c5ac6b397e0d548db14dab5a8 /src | |
parent | 5129aec41d33947923a91604647a5936e49ae009 (diff) | |
download | hercules-09c4d1ef3a04c03e254b16324cf3a2b83f1d0316.tar.gz hercules-09c4d1ef3a04c03e254b16324cf3a2b83f1d0316.tar.bz2 hercules-09c4d1ef3a04c03e254b16324cf3a2b83f1d0316.tar.xz hercules-09c4d1ef3a04c03e254b16324cf3a2b83f1d0316.zip |
Corrected two mistakes when I was trying to do some tricks...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13974 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 6 | ||||
-rw-r--r-- | src/map/quest.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index c6020e05c..37fa65ea4 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1992,10 +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_); } + //Move to status.c, and send a delete quest packet and then an add quest packet can refresh the kill counts. Just a trick. :P[Inkfish] + if( sd->avail_quests ) + quest_update_objective(sd, md->class_); } // filter out entries not eligible for exp distribution diff --git a/src/map/quest.c b/src/map/quest.c index 6c4ef7b14..e3020cc3f 100644 --- a/src/map/quest.c +++ b/src/map/quest.c @@ -204,8 +204,8 @@ void quest_update_objective(TBL_PC * sd, int mob) sd->quest_log[i].count[j]++; // Should figure out the real packet. - clif_send_quest_delete(sd, sd->quest_log[i].quest_id); - clif_send_quest_info(sd, &sd->quest_log[i]); + //clif_send_quest_delete(sd, sd->quest_log[i].quest_id); + //clif_send_quest_info(sd, &sd->quest_log[i]); //break; } } |