summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-24 16:30:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-24 16:30:14 +0300
commit7d51e26af0f8bbd6c4788c73632d9165db6600fb (patch)
tree71fa7f9276acfdb43999dadc5e29508096adb12e
parent58e216614ba0b1806a417f2cc2ea2323bbb230cf (diff)
downloadplugin-7d51e26af0f8bbd6c4788c73632d9165db6600fb.tar.gz
plugin-7d51e26af0f8bbd6c4788c73632d9165db6600fb.tar.bz2
plugin-7d51e26af0f8bbd6c4788c73632d9165db6600fb.tar.xz
plugin-7d51e26af0f8bbd6c4788c73632d9165db6600fb.zip
Compilation fix after server code update.
-rw-r--r--src/echar/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/echar/char.c b/src/echar/char.c
index 1605640..b3f58e2 100644
--- a/src/echar/char.c
+++ b/src/echar/char.c
@@ -64,7 +64,7 @@ void echar_parse_char_create_new_char(int *fdPtr, struct char_session_data **sdP
}
}
- const int 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));
+ const int 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);
if (result < 0)
{
chr->creation_failed(fd, result);