summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));