diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-08-07 21:13:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-08-10 23:06:08 +0300 |
commit | c0367b69fd226be21643cd4b620fff2aadb0e742 (patch) | |
tree | 94b6cb16c7c5232020a22896496813be378a340e /src/map/script.h | |
parent | 5ad96bcc2af2a5a76348fca87e52a0f038461808 (diff) | |
download | hercules-c0367b69fd226be21643cd4b620fff2aadb0e742.tar.gz hercules-c0367b69fd226be21643cd4b620fff2aadb0e742.tar.bz2 hercules-c0367b69fd226be21643cd4b620fff2aadb0e742.tar.xz hercules-c0367b69fd226be21643cd4b620fff2aadb0e742.zip |
Move use item script function call into function script_run_use_script.
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index 93d60f416..bdd6e20ac 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -765,6 +765,7 @@ struct script_interface { uint8 (*add_language) (const char *name); 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); }; struct script_interface *script; |