From b12f1ff8be37346ec70ab50447c8f03bd9a990e1 Mon Sep 17 00:00:00 2001 From: gumi Date: Sat, 2 May 2020 09:35:01 -0400 Subject: add a config flag to allow to local functions to be event handlers --- src/map/script.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/script.h') 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; -- cgit v1.2.3-70-g09d2