From 271bb545ec7d498e723572d050b80f17b14a2470 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Thu, 21 Mar 2013 10:19:46 +0000 Subject: [PATCH] Make -testlua accepted (but ignored) in non-Lunatic build. So that it doesn't result in the -t (respawn on) command line switch. git-svn-id: https://svn.eduke32.com/eduke32@3586 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index cfaedf747..a1a661fa8 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -9008,15 +9008,15 @@ static void G_CheckCommandLine(int32_t argc, const char **argv) i++; continue; } -#ifdef LUNATIC if (!Bstrcasecmp(c+1,"testlua")) { +#ifdef LUNATIC extern int32_t g_testLua; g_testLua = 1; +#endif i++; continue; } -#endif #if !defined(_WIN32) if (!Bstrcasecmp(c+1,"usecwd")) {