summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-05-02 09:35:01 -0400
committergumi <git@gumi.ca>2020-05-03 11:46:22 -0400
commitb12f1ff8be37346ec70ab50447c8f03bd9a990e1 (patch)
tree3e209166b7982bb065de402a040fc87bc7a928d8 /src/map/script.h
parentd958a36388644a9e58b63da0458f836d198833c8 (diff)
downloadhercules-b12f1ff8be37346ec70ab50447c8f03bd9a990e1.tar.gz
hercules-b12f1ff8be37346ec70ab50447c8f03bd9a990e1.tar.bz2
hercules-b12f1ff8be37346ec70ab50447c8f03bd9a990e1.tar.xz
hercules-b12f1ff8be37346ec70ab50447c8f03bd9a990e1.zip
add a config flag to allow to local functions to be event handlers
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 0a6a21f1b..5a031e9f5 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -585,6 +585,7 @@ struct Script_Config {
bool warn_func_mismatch_argtypes;
bool warn_func_mismatch_paramnum;
bool functions_private_by_default;
+ bool functions_as_events;
int check_cmdcount;
int check_gotocount;
int input_min_value;