summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emap/quest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/quest.c b/src/emap/quest.c
index 88158dc..4ef0e55 100644
--- a/src/emap/quest.c
+++ b/src/emap/quest.c
@@ -13,6 +13,7 @@
#include "common/socket.h"
#include "common/strlib.h"
#include "map/itemdb.h"
+#include "map/script.h"
#include "map/quest.h"
#include "emap/quest.h"
@@ -72,6 +73,8 @@ struct quest_db *equest_read_db_sub(config_setting_t *cs, int *nPtr, const char
return NULL;
}
+ script->set_constant2(str, quest_id, false);
+
CREATE(entry, struct quest_db, 1);
entry->id = quest_id;
//safestrncpy(entry->name, str, sizeof(entry->name));