From 56c4c0d997f0776c606a9a9594772f86ea181b68 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 5 Feb 2015 18:02:09 +0100 Subject: Follow-up to 49df787e2c2faa2621b5490c6e88c86a4b7a813f - Corrected a wrong structure member being used in a mob db lookup. - Fixes bugreport:8516, special thanks to Valo http://hercules.ws/board/tracker/issue-8516-quest-add-looks-up-objective-count-instead-of-mob-id Signed-off-by: Haru --- src/map/clif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/map/clif.c b/src/map/clif.c index 1d5bf8e31..a298e6707 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -15391,7 +15391,7 @@ void clif_quest_add(struct map_session_data *sd, struct quest *qd) struct mob_db *monster; WFIFOL(fd, i*30+17) = qi->objectives[i].mob; WFIFOW(fd, i*30+21) = qd->count[i]; - monster = mob->db(qi->objectives[i].count); + monster = mob->db(qi->objectives[i].mob); memcpy(WFIFOP(fd, i*30+23), monster->jname, NAME_LENGTH); } -- cgit v1.2.3-60-g2f50