diff options
author | Haru <haru@dotalux.com> | 2017-04-15 20:02:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-15 20:02:49 +0200 |
commit | 5802b22439441be1914ae9024d6ce06d51c0210f (patch) | |
tree | 73fc101924b346ea7ecd2255b40a3f9a506a18c6 /src/char/char.c | |
parent | 123641791ee4f5eba0e02675122884e9a92b79ea (diff) | |
parent | 7fcf3c6d5ce824a0d75e7e816af08505b09baa43 (diff) | |
download | hercules-5802b22439441be1914ae9024d6ce06d51c0210f.tar.gz hercules-5802b22439441be1914ae9024d6ce06d51c0210f.tar.bz2 hercules-5802b22439441be1914ae9024d6ce06d51c0210f.tar.xz hercules-5802b22439441be1914ae9024d6ce06d51c0210f.zip |
Merge pull request #1675 from 4144/packetsupdate
Add packets for diffrent 2015 clients
Diffstat (limited to 'src/char/char.c')
-rw-r--r-- | src/char/char.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index 1197e2811..93078f8ee 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -4677,7 +4677,9 @@ void char_parse_char_create_new_char(int fd, struct char_session_data* sd) sex = 'M'; break; default: - return -2; // Char Creation Denied + chr->creation_failed(fd, -2); // Char Creation Denied + RFIFOSKIP(fd, 36); + return; } result = chr->make_new_char_sql(sd, RFIFOP(fd, 2), 1, 1, 1, 1, 1, 1, RFIFOB(fd, 26), RFIFOW(fd, 27), RFIFOW(fd, 29), RFIFOW(fd, 31), sex); #elif PACKETVER >= 20120307 |