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
This commit is contained in:
helixhorned 2013-03-21 10:19:46 +00:00
parent 61f501c3fc
commit 271bb545ec

View file

@ -9008,15 +9008,15 @@ static void G_CheckCommandLine(int32_t argc, const char **argv)
i++; i++;
continue; continue;
} }
#ifdef LUNATIC
if (!Bstrcasecmp(c+1,"testlua")) if (!Bstrcasecmp(c+1,"testlua"))
{ {
#ifdef LUNATIC
extern int32_t g_testLua; extern int32_t g_testLua;
g_testLua = 1; g_testLua = 1;
#endif
i++; i++;
continue; continue;
} }
#endif
#if !defined(_WIN32) #if !defined(_WIN32)
if (!Bstrcasecmp(c+1,"usecwd")) if (!Bstrcasecmp(c+1,"usecwd"))
{ {