From 38a48f8136c3fa326e126cacbd8131608f25d51c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 25 Jul 2017 23:13:21 +0300 Subject: Fix compilation after hercules update. --- src/emap/script_buildins.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3-70-g09d2