Prevent accidental infinite loops in lua

Also fix glitch when step_functions[0] is unregistered but others aren't
This commit is contained in:
Jacob1
2012-05-23 20:08:53 -04:00
parent b943945436
commit be2fe943c0
5 changed files with 29 additions and 11 deletions

View File

@@ -62,6 +62,7 @@ int luacon_particle_getproperty(char * key, int * format);
int luacon_transition_getproperty(char * key, int * format);
int luacon_element_getproperty(char * key, int * format, unsigned int * modified_stuff);
int process_command_lua(pixel *vid_buf, char *console, char *console_error);
void lua_hook(lua_State *L, lua_Debug *ar);
int getPartIndex_curIdx;