diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 11:31:54 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 11:31:54 +0000 |
commit | 98e93754c1a4c733592bf761dc7faf6a2855ebf1 (patch) | |
tree | caa45db6e7a79db218a3a0a6f5cdc2a0562f7531 /src/char_sql/char.c | |
parent | 2a29e35da4db6bb0fccc633368d53951d0fcc5d0 (diff) | |
download | hercules-98e93754c1a4c733592bf761dc7faf6a2855ebf1.tar.gz hercules-98e93754c1a4c733592bf761dc7faf6a2855ebf1.tar.bz2 hercules-98e93754c1a4c733592bf761dc7faf6a2855ebf1.tar.xz hercules-98e93754c1a4c733592bf761dc7faf6a2855ebf1.zip |
field typo
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8421 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-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 bbae5f76e..8b0d7173d 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1481,7 +1481,7 @@ int delete_char_sql(int char_id, int partner_id) char char_name[NAME_LENGTH], t_name[NAME_LENGTH*2]; //Name needs be escaped.
int account_id=0, party_id=0, guild_id=0, char_base_level=0;
- sprintf(tmp_sql, "SELECT `name`,`account_id`,`party_id`,`guild_id`,`baselevel` FROM `%s` WHERE `char_id`='%d'",char_db, char_id);
+ sprintf(tmp_sql, "SELECT `name`,`account_id`,`party_id`,`guild_id`,`base_level` FROM `%s` WHERE `char_id`='%d'",char_db, char_id);
if (mysql_query(&mysql_handle, tmp_sql)) {
ShowSQL("DB error - %s\n",mysql_error(&mysql_handle));
|