summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
{