From 8333d168bab604a7ea67c3e24486f85c057600a8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jun 2018 19:57:00 +0300 Subject: Fix job field size in function char_parse_char_create_new_char. --- src/char/char.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2