summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-28 05:48:17 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-28 05:48:17 +0000
commit09c4d1ef3a04c03e254b16324cf3a2b83f1d0316 (patch)
tree0a449b1bf962580c5ac6b397e0d548db14dab5a8 /src/map/mob.c
parent5129aec41d33947923a91604647a5936e49ae009 (diff)
downloadhercules-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/map/mob.c')
-rw-r--r--src/map/mob.c6
1 files changed, 3 insertions, 3 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