diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-06-08 19:57:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-06-13 02:32:43 +0300 |
commit | 8333d168bab604a7ea67c3e24486f85c057600a8 (patch) | |
tree | 86f4c24e46c08088683eb4c248af159b04d46a5d /src | |
parent | 2c15d146cff1fe515a464b8625f8abc294d666ad (diff) | |
download | hercules-8333d168bab604a7ea67c3e24486f85c057600a8.tar.gz hercules-8333d168bab604a7ea67c3e24486f85c057600a8.tar.bz2 hercules-8333d168bab604a7ea67c3e24486f85c057600a8.tar.xz hercules-8333d168bab604a7ea67c3e24486f85c057600a8.zip |
Fix job field size in function char_parse_char_create_new_char.
Diffstat (limited to 'src')
-rw-r--r-- | src/char/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c index de4c4c8f0..92b0209b2 100644 --- a/src/char/char.c +++ b/src/char/char.c @@ -4684,7 +4684,7 @@ void char_parse_char_create_new_char(int fd, struct char_session_data* sd) 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); + 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), RFIFOL(fd, 31), sex); #elif PACKETVER >= 20120307 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), JOB_NOVICE, 'U'); #else |