diff options
author | markzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-05 06:12:53 +0000 |
---|---|---|
committer | markzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-05 06:12:53 +0000 |
commit | 13e152b1a9819d6587c9702b7eccd174e62b5e8b (patch) | |
tree | cd4bab826c21854a257078b00dd22d22adc83367 /src/char | |
parent | 1b1edc7ad6115f6823a6cf1e341277a8cb86a00b (diff) | |
download | hercules-13e152b1a9819d6587c9702b7eccd174e62b5e8b.tar.gz hercules-13e152b1a9819d6587c9702b7eccd174e62b5e8b.tar.bz2 hercules-13e152b1a9819d6587c9702b7eccd174e62b5e8b.tar.xz hercules-13e152b1a9819d6587c9702b7eccd174e62b5e8b.zip |
- Re-committed r16979/trunk/src/ (pid:161281).
- Re-committed r16980/trunk/src/ (pid:161281).
- Malufett enhancement applied (bugreport:16981)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16998 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/char.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/char/char.c b/src/char/char.c index 234a91b79..0003e590f 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -1486,9 +1486,7 @@ int make_new_char_sql(struct char_session_data* sd, char* name_, int str, int ag || (str + int_ != 10 || agi + luk != 10 || vit + dex != 10) ) // pairs #endif return -2; // invalid input - - if (hair_style > 17 || hair_color > 8) - return -2; + // check the number of already existing chars in this account if( char_per_account != 0 ) { |