summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-07 21:57:49 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-10 23:06:08 +0300
commit2f488d98cacccc17d1702230488e15f7f9bc25e7 (patch)
tree0acf0239078b8bf1ce35dc4929ce8435f37be546 /src/map/script.h
parentc0367b69fd226be21643cd4b620fff2aadb0e742 (diff)
downloadhercules-2f488d98cacccc17d1702230488e15f7f9bc25e7.tar.gz
hercules-2f488d98cacccc17d1702230488e15f7f9bc25e7.tar.bz2
hercules-2f488d98cacccc17d1702230488e15f7f9bc25e7.tar.xz
hercules-2f488d98cacccc17d1702230488e15f7f9bc25e7.zip
Move equip item script function call into function script_run_item_equip_script.
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index bdd6e20ac..d8b008d78 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -19,6 +19,7 @@
* Declarations
**/
struct eri;
+struct item_data;
/**
* Defines
@@ -766,6 +767,7 @@ struct script_interface {
const char *(*get_translation_file_name) (const char *file);
void (*parser_clean_leftovers) (void);
void (*run_use_script) (struct map_session_data *sd, struct item_data *data, int oid);
+ void (*run_item_equip_script) (struct map_session_data *sd, struct item_data *data, int oid);
};
struct script_interface *script;