From 3e901e2ef5183fd0058487cd5a4f75fe0b921e4e Mon Sep 17 00:00:00 2001 From: MasterOfMuppets Date: Fri, 9 Jun 2006 13:37:53 +0000 Subject: [PATCH] Fixed a typo in char_sql/char.c, thanks to Euph. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@7070 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 2 ++ src/char_sql/char.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index d406c2522a..7147703958 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,8 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK. IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. +2006/06/09 + * Fixed a typo in char_sql/char.c, thanks to Euph [MasterOfMuppets] 2006/06/08 * Modified guild exp to be an unsigned int rather than a signed one. [Skotlex] diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 1a0d2de740..5897a88abc 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);