diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-24 02:43:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-24 02:43:12 +0300 |
commit | 77cc71cde657cca6c2747a41e3c1672cd4c6092b (patch) | |
tree | 77f3ae7484c49109c9803dc6ba99011e74079236 /src/emap/craftconf.c | |
parent | 207e14ad4c4efe77e258efc55b09ccbf1c66845c (diff) | |
download | evol-hercules-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.gz evol-hercules-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.bz2 evol-hercules-77cc71cde657cca6c2747a41e3c1672cd4c6092b.tar.xz evol-hercules-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.c | 1 |
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; } |