diff options
author | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 11:35:38 +0000 |
---|---|---|
committer | Lupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-22 11:35:38 +0000 |
commit | eb01e82d50232c8cdf3e0030d8d80ffb727b82d3 (patch) | |
tree | d02c413830dd0cf08dd14b7679b682af5601ade6 /src/char_sql/char.c | |
parent | 98e93754c1a4c733592bf761dc7faf6a2855ebf1 (diff) | |
download | hercules-eb01e82d50232c8cdf3e0030d8d80ffb727b82d3.tar.gz hercules-eb01e82d50232c8cdf3e0030d8d80ffb727b82d3.tar.bz2 hercules-eb01e82d50232c8cdf3e0030d8d80ffb727b82d3.tar.xz hercules-eb01e82d50232c8cdf3e0030d8d80ffb727b82d3.zip |
more typos
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8422 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 13 |
1 files changed, 5 insertions, 8 deletions
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);
|