From eb01e82d50232c8cdf3e0030d8d80ffb727b82d3 Mon Sep 17 00:00:00 2001 From: Lupus Date: Tue, 22 Aug 2006 11:35:38 +0000 Subject: more typos git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8422 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/char_sql') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 8b0d7173d..d5d1395a7 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -1510,14 +1510,11 @@ int delete_char_sql(int char_id, int partner_id) mysql_free_result(sql_res); //Let's free this as soon as possible to avoid problems later on. //check for config char del condition [Lupus] - if(char_del_level!=0){ - if( - ( char_del_level > 0 && char_base_level >= char_del_level ) - || ( char_del_level < 0 && char_base_level <= -char_del_level ) - ) { + if( ( char_del_level > 0 && char_base_level >= char_del_level ) + || ( char_del_level < 0 && char_base_level <= -char_del_level ) + ) { ShowInfo("Char deletion aborted: %s, BaseLevel: %i\n",char_name,char_base_level); return -1; - } } /* Divorce [Wizputer] */ @@ -3526,7 +3523,7 @@ int parse_char(int fd) { RFIFOSKIP(fd, 46); break; } - } + } for(i = 0; i < 9; i++) { /* Debug: @@ -3585,7 +3582,7 @@ int parse_char(int fd) { mapif_sendall(buf,10); } } - /* Char successfully deleted. + /* Char successfully deleted.*/ WFIFOW(fd, 0) = 0x6f; WFIFOSET(fd, 2); -- cgit v1.2.3-70-g09d2