diff options
author | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-10 03:13:28 +0000 |
---|---|---|
committer | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-10 03:13:28 +0000 |
commit | 8542722b5f295eb8d282cc22f894ec49b5368f40 (patch) | |
tree | b2471c7ccd759e4e14b8f7609422313a86b60c04 /src/char_sql | |
parent | 662b99b94ea5e8934be006a1365c090b034a22ee (diff) | |
download | hercules-8542722b5f295eb8d282cc22f894ec49b5368f40.tar.gz hercules-8542722b5f295eb8d282cc22f894ec49b5368f40.tar.bz2 hercules-8542722b5f295eb8d282cc22f894ec49b5368f40.tar.xz hercules-8542722b5f295eb8d282cc22f894ec49b5368f40.zip |
fixed MoM's typo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7081 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-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 494e975f5..3a31e8030 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2007,7 +2007,7 @@ int parse_tologin(int fd) { ShowSQL("DB error - %s\n",mysql_error(&mysql_handle));
ShowDebug("at %s:%d - %s\n", __FILE__,__LINE__,tmp_sql);
}
- sprintf(tmp_sql, "UPDATE `%s` SET `class`='%d' , `skill_point`='%d' , `weapon`='0' , `shield=`'0' , `head_top`='0' , `head_mid`='0' , `head_bottom`='0' WHERE `char_id` = '%d'",char_db, class_, skill_point, char_id);
+ sprintf(tmp_sql, "UPDATE `%s` SET `class`='%d' , `skill_point`='%d' , `weapon`='0' , `shield`='0' , `head_top`='0' , `head_mid`='0' , `head_bottom`='0' WHERE `char_id` = '%d'",char_db, class_, skill_point, char_id);
if (mysql_query(&mysql_handle, tmp_sql)) {
ShowSQL("DB error - %s\n",mysql_error(&mysql_handle));
ShowDebug("at %s:%d - %s\n", __FILE__,__LINE__,tmp_sql);
|