diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-07-25 23:13:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-07-25 23:13:21 +0300 |
commit | 38a48f8136c3fa326e126cacbd8131608f25d51c (patch) | |
tree | 4bc39412ccdcab6775321e9a7fae862f18359a38 /src | |
parent | 17ffc295b10b17f04b4db3cef62bceb2a9768f43 (diff) | |
download | plugin-38a48f8136c3fa326e126cacbd8131608f25d51c.tar.gz plugin-38a48f8136c3fa326e126cacbd8131608f25d51c.tar.bz2 plugin-38a48f8136c3fa326e126cacbd8131608f25d51c.tar.xz plugin-38a48f8136c3fa326e126cacbd8131608f25d51c.zip |
Fix compilation after hercules update.
Diffstat (limited to 'src')
-rw-r--r-- | src/emap/script_buildins.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index d58220b..4c32a9a 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -527,7 +527,7 @@ BUILDIN(setq) int quest_id = script_getnum(st, 2); if (quest->check(sd, quest_id, HAVEQUEST) < 0) - quest->add(sd, quest_id); + quest->add(sd, quest_id, 0); ARR_FIND(0, sd->num_quests, i, sd->quest_log[i].quest_id == quest_id); if (i == sd->num_quests) { |