From 98e93754c1a4c733592bf761dc7faf6a2855ebf1 Mon Sep 17 00:00:00 2001 From: Lupus Date: Tue, 22 Aug 2006 11:31:54 +0000 Subject: field typo git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8421 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)); -- cgit v1.2.3-70-g09d2