diff options
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 5ba6c6b29..66bb68cec 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1216,7 +1216,7 @@ int mmo_char_fromsql(int char_id, struct mmo_charstatus* p, bool load_everything memcpy(&p->quest_log[i].objectives[j], &tmp_quest_obj, sizeof(tmp_quest_obj)); p->quest_log[i].num_objectives = j+1; } - p->num_quests = i+1; + p->num_quests = i; strcat(t_msg, " quests"); SqlStmt_Free(stmt2); |