diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-30 15:25:29 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-09-30 15:25:29 (GMT) |
| commit | 70174bff47432a3b63335b8205623757361d3191 (patch) | |
| tree | dc2b029e8c4174369e86825a295fd8dd762afc8b /src/cat/LuaScriptInterface.cpp | |
| parent | 90ebd3e54c376b7baa80d9d739f3ace62f6991cd (diff) | |
| download | powder-70174bff47432a3b63335b8205623757361d3191.zip powder-70174bff47432a3b63335b8205623757361d3191.tar.gz | |
Set appropriate default values for some static Lua interface variables
Diffstat (limited to 'src/cat/LuaScriptInterface.cpp')
| -rw-r--r-- | src/cat/LuaScriptInterface.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cat/LuaScriptInterface.cpp b/src/cat/LuaScriptInterface.cpp index dda8d95..fc00e24 100644 --- a/src/cat/LuaScriptInterface.cpp +++ b/src/cat/LuaScriptInterface.cpp @@ -61,11 +61,11 @@ std::string *luacon_lastError; int *lua_el_func, *lua_el_mode, *lua_gr_func; int getPartIndex_curIdx; -int step_functions[6];//[6] = {0, 0, 0, 0, 0, 0}; -int keypress_function_count;// = 0; -int *keypress_functions;// = NULL; -int mouseclick_function_count;// = 0; -int *mouseclick_functions;// = NULL; +int step_functions[6] = {0, 0, 0, 0, 0, 0}; +int keypress_function_count = 0; +int *keypress_functions = NULL; +int mouseclick_function_count = 0; +int *mouseclick_functions = NULL; int tptProperties; //Table for some TPT properties int tptPropertiesVersion; int tptElements; //Table for TPT element names |
