summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-12-04 12:23:54 +0100
committerHaru <haru@dotalux.com>2013-12-04 12:24:43 +0100
commitfdd8d1556526abcfbc95263aa3b0a651e7f4cf0a (patch)
tree577d81395fff9b8606121be92f5583014598dbcc
parentcf012645620c2e791607a43dfd0c69120761b18a (diff)
downloadhercules-fdd8d1556526abcfbc95263aa3b0a651e7f4cf0a.tar.gz
hercules-fdd8d1556526abcfbc95263aa3b0a651e7f4cf0a.tar.bz2
hercules-fdd8d1556526abcfbc95263aa3b0a651e7f4cf0a.tar.xz
hercules-fdd8d1556526abcfbc95263aa3b0a651e7f4cf0a.zip
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 <haru@dotalux.com>
-rw-r--r--src/char/int_quest.c2
1 files changed, 1 insertions, 1 deletions
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));