summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 02:42:30 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-11 02:42:30 +0000
commitc6670cae6548eb6792b13f00ea6d8299c2c825fc (patch)
treec178609a56b7ba7612478cef6f8ad327494508e2 /src/char_sql/char.c
parenteb9d9a5e40f78993ab6280df285b1a15a7f27abb (diff)
downloadhercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.tar.gz
hercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.tar.bz2
hercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.tar.xz
hercules-c6670cae6548eb6792b13f00ea6d8299c2c825fc.zip
Some quest log changes and removed one of the set char offline calls that was added in revision 12552.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12557 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
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);