summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-06-01 14:22:19 +0200
committerGitHub <noreply@github.com>2019-06-01 14:22:19 +0200
commitc8202e1cd9eb64d07fa921d117a13eef3938a4db (patch)
treee57701639ffb1e518431dc0e0a10860aa7c642d6 /src/map/clif.c
parentd7042459c9f9797a80dadce57297b5d16e8931c4 (diff)
parenta321a26f2f9867c8c0e4b5503e4ad2275801122e (diff)
downloadhercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.tar.gz
hercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.tar.bz2
hercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.tar.xz
hercules-c8202e1cd9eb64d07fa921d117a13eef3938a4db.zip
Merge pull request #2433 from Asheraf/questinfomemfix
Move questinfo data from map to npc_data
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5228f06a3..721d2f5b5 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10790,15 +10790,7 @@ static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd)
// NPC Quest / Event Icon Check [Kisuka]
#if PACKETVER >= 20090218
- {
- int i;
- for (i = 0; i < VECTOR_LENGTH(map->list[sd->bl.m].qi_data); i++) {
- struct questinfo *qi = &VECTOR_INDEX(map->list[sd->bl.m].qi_data, i);
-
- if (quest->questinfo_validate(sd, qi))
- clif->quest_show_event(sd, &qi->nd->bl, qi->icon, qi->color);
- }
- }
+ quest->questinfo_refresh(sd);
#endif
}