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

@@ -189,6 +189,7 @@ extern int ngrav_enable;
int limitFPS;
int water_equal_test;
extern int quickoptions_tooltip_fade;
extern int loop_time;
extern int debug_flags;
#define DEBUG_PERF_FRAMECOUNT 256