summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/mob.c6
-rw-r--r--src/map/quest.c4
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;
}
}