diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-08 01:45:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-08 01:45:55 +0300 |
commit | ba1f86da74b30f7a81f6b1293eff18ea19855aa6 (patch) | |
tree | 84d3c8faa10cf837dff5f62fc9d4a4d2747a7eb1 /src/emap/quest.c | |
parent | 3fde4db8cdc341839282e6c521c0a9214ad23a7c (diff) | |
download | plugin-ba1f86da74b30f7a81f6b1293eff18ea19855aa6.tar.gz plugin-ba1f86da74b30f7a81f6b1293eff18ea19855aa6.tar.bz2 plugin-ba1f86da74b30f7a81f6b1293eff18ea19855aa6.tar.xz plugin-ba1f86da74b30f7a81f6b1293eff18ea19855aa6.zip |
Add quest names to constants.
Diffstat (limited to 'src/emap/quest.c')
-rw-r--r-- | src/emap/quest.c | 3 |
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)); |