diff --git a/src/bind_eressea.c b/src/bind_eressea.c index a345f6c19..170a8cb08 100755 --- a/src/bind_eressea.c +++ b/src/bind_eressea.c @@ -5,6 +5,7 @@ #include "json.h" #include +#include #include #include @@ -14,6 +15,7 @@ void eressea_free_game(void) { free_gamedata(); + init_resources(); } int eressea_read_game(const char * filename) { diff --git a/src/kernel/item.h b/src/kernel/item.h index afccf8ba9..d40e2d90c 100644 --- a/src/kernel/item.h +++ b/src/kernel/item.h @@ -313,9 +313,9 @@ extern "C" { extern struct attrib_type at_showitem; /* show this potion's description */ - extern void register_resources(void); - extern void init_resources(void); - extern void init_itemtypes(void); + void register_resources(void); + void init_resources(void); + void init_itemtypes(void); extern void register_item_give(int (*foo) (struct unit *, struct unit *, const struct item_type *, int, struct order *), const char *name);