summaryrefslogtreecommitdiff
path: root/src/emap
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-25 23:13:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-25 23:13:21 +0300
commit38a48f8136c3fa326e126cacbd8131608f25d51c (patch)
tree4bc39412ccdcab6775321e9a7fae862f18359a38 /src/emap
parent17ffc295b10b17f04b4db3cef62bceb2a9768f43 (diff)
downloadevol-hercules-38a48f8136c3fa326e126cacbd8131608f25d51c.tar.gz
evol-hercules-38a48f8136c3fa326e126cacbd8131608f25d51c.tar.bz2
evol-hercules-38a48f8136c3fa326e126cacbd8131608f25d51c.tar.xz
evol-hercules-38a48f8136c3fa326e126cacbd8131608f25d51c.zip
Fix compilation after hercules update.
Diffstat (limited to 'src/emap')
-rw-r--r--src/emap/script_buildins.c2
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)
{