summaryrefslogtreecommitdiff
path: root/src/emap/craftconf.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-24 02:43:12 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-24 02:43:12 +0300
commit77cc71cde657cca6c2747a41e3c1672cd4c6092b (patch)
tree77f3ae7484c49109c9803dc6ba99011e74079236 /src/emap/craftconf.c
parent207e14ad4c4efe77e258efc55b09ccbf1c66845c (diff)
downloadplugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.gz
plugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.bz2
plugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.xz
plugin-77cc71cde657cca6c2747a41e3c1672cd4c6092b.zip
Add script command for use craft.
New script command: usecraft CRAFT Where CRAFT - craft id created by initcraft.
Diffstat (limited to 'src/emap/craftconf.c')
-rw-r--r--src/emap/craftconf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/craftconf.c b/src/emap/craftconf.c
index 62f3230..7afba56 100644
--- a/src/emap/craftconf.c
+++ b/src/emap/craftconf.c
@@ -38,6 +38,7 @@ struct craft_db_entry *craft_create_db_entry(const int id)
VECTOR_INIT(entry->required_equips);
VECTOR_INIT(entry->required_skills);
VECTOR_INIT(entry->required_quests);
+ entry->selected_inventory = NULL;
return entry;
}