From fdd8d1556526abcfbc95263aa3b0a651e7f4cf0a Mon Sep 17 00:00:00 2001 From: Haru Date: Wed, 4 Dec 2013 12:23:54 +0100 Subject: Follow-up to 6f55c00e72ca6db130a84fe92218f73a777428f4 - Fixed an issue that caused the quest list not to be sent to the map server. - Special thanks to Beret. Signed-off-by: Haru --- src/char/int_quest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char') diff --git a/src/char/int_quest.c b/src/char/int_quest.c index b40cc97f8..fb90e8206 100644 --- a/src/char/int_quest.c +++ b/src/char/int_quest.c @@ -59,7 +59,7 @@ struct quest *mapif_quests_fromsql(int char_id, int *count) { return NULL; } - *count = (int)SQL->NumRows(sql_handle); + *count = (int)SQL->StmtNumRows(stmt); if (*count > 0) { int i = 0; questlog = (struct quest *)aCalloc(*count, sizeof(struct quest)); -- cgit v1.2.3-60-g2f50