diff options
Diffstat (limited to '')
-rw-r--r-- | src/LuaSL/LuaSL.h | 1 | ||||
-rw-r--r-- | src/LuaSL/LuaSL_LSL_tree.h | 1 | ||||
-rw-r--r-- | src/LuaSL/LuaSL_compile.c | 4 |
3 files changed, 2 insertions, 4 deletions
diff --git a/src/LuaSL/LuaSL.h b/src/LuaSL/LuaSL.h index f696f03..54e7fa7 100644 --- a/src/LuaSL/LuaSL.h +++ b/src/LuaSL/LuaSL.h | |||
@@ -12,7 +12,6 @@ typedef struct _gameGlobals gameGlobals; // Define this here, so LuaSL_threads.h | |||
12 | #include "LumbrJack.h" | 12 | #include "LumbrJack.h" |
13 | #include "Runnr.h" | 13 | #include "Runnr.h" |
14 | 14 | ||
15 | #define COMPILE_THREADED 0 | ||
16 | 15 | ||
17 | struct _gameGlobals | 16 | struct _gameGlobals |
18 | { | 17 | { |
diff --git a/src/LuaSL/LuaSL_LSL_tree.h b/src/LuaSL/LuaSL_LSL_tree.h index 30a12f5..5b61926 100644 --- a/src/LuaSL/LuaSL_LSL_tree.h +++ b/src/LuaSL/LuaSL_LSL_tree.h | |||
@@ -3,6 +3,7 @@ | |||
3 | #define __LUASL_TREE_H__ | 3 | #define __LUASL_TREE_H__ |
4 | 4 | ||
5 | #define LUASL_DEBUG 0 | 5 | #define LUASL_DEBUG 0 |
6 | #define COMPILE_THREADED 0 | ||
6 | #define LUASL_DIFF_CHECK 0 | 7 | #define LUASL_DIFF_CHECK 0 |
7 | #define LUASL_BAD_CHECK 0 | 8 | #define LUASL_BAD_CHECK 0 |
8 | 9 | ||
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c index 5da2724..286681e 100644 --- a/src/LuaSL/LuaSL_compile.c +++ b/src/LuaSL/LuaSL_compile.c | |||
@@ -2373,9 +2373,7 @@ boolean compileLSL(LuaSL_compiler *compiler) | |||
2373 | // Compile the Lua source code. | 2373 | // Compile the Lua source code. |
2374 | compiler->compiler.luaName = strdup(luaName); | 2374 | compiler->compiler.luaName = strdup(luaName); |
2375 | compiler->compiler.bugCount = compiler->script.bugCount; | 2375 | compiler->compiler.bugCount = compiler->script.bugCount; |
2376 | #if !COMPILE_THREADED | 2376 | compileScript(&compiler->compiler, COMPILE_THREADED); |
2377 | compileScript(&compiler->compiler); | ||
2378 | #endif | ||
2379 | compiler->result = TRUE; | 2377 | compiler->result = TRUE; |
2380 | } | 2378 | } |
2381 | else | 2379 | else |