summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-10 03:13:28 +0000
committerVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-10 03:13:28 +0000
commit8542722b5f295eb8d282cc22f894ec49b5368f40 (patch)
treeb2471c7ccd759e4e14b8f7609422313a86b60c04
parent662b99b94ea5e8934be006a1365c090b034a22ee (diff)
downloadhercules-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
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/char_sql/char.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 0a5cd1b5c..ddc7a80cc 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/06/09
+ * Fixed MoM's typo [Vicious]
* Fixed map_readafm missing strcpy(afm_name, m->name). [Skotlex]
* [Improved]:
- npc_click interception on BL_MOB and BL_PC to let sd act accordingly.
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);