summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMasterOfMuppets <MasterOfMuppets@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-09 13:37:53 +0000
committerMasterOfMuppets <MasterOfMuppets@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-09 13:37:53 +0000
commitb1f3d6ee46b54e935f6e4bf589c3216830904a3f (patch)
treeacf4174be03e4b7a041211a8075721cb446e4c15 /src
parent7c556543a5c5687954cf75374f7cb6f5c9149afb (diff)
downloadhercules-b1f3d6ee46b54e935f6e4bf589c3216830904a3f.tar.gz
hercules-b1f3d6ee46b54e935f6e4bf589c3216830904a3f.tar.bz2
hercules-b1f3d6ee46b54e935f6e4bf589c3216830904a3f.tar.xz
hercules-b1f3d6ee46b54e935f6e4bf589c3216830904a3f.zip
Fixed a typo in char_sql/char.c, thanks to Euph.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7070 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 1a0d2de74..5897a88ab 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -2006,7 +2006,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);