From b23217d78588289a8b63cca44c7b9990e6996961 Mon Sep 17 00:00:00 2001 From: Molgrum Date: Tue, 25 Sep 2007 21:54:01 +0000 Subject: [PATCH] Added cl_fakeshaft -> cl_truelightning. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2693 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- plugins/ezscript/ezscript.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ezscript/ezscript.c b/plugins/ezscript/ezscript.c index bbcbe9610..7d9ea5f66 100644 --- a/plugins/ezscript/ezscript.c +++ b/plugins/ezscript/ezscript.c @@ -81,6 +81,7 @@ int Plug_ExecuteCommand(int *args) else if (!strcmp("gl_lighting_vertex", cmd)) cvar = "r_vertexlight"; else if (!strcmp("bgmvolume", cmd)) cvar = "musicvolume"; else if (!strcmp("scr_menualpha", cmd)) cvar = "scr_conalpha"; + else if (!strcmp("cl_fakeshaft", cmd)) cvar = "cl_truelightning"; else cvar = NULL; if (cvar) @@ -128,6 +129,7 @@ void ezScript_InitCommands(void) // not really needed actually Cmd_AddCommand("scr_conback"); //misc Cmd_AddCommand("cl_bonusflash"); + Cmd_AddCommand("cl_fakeshaft"); Cmd_AddCommand("r_floorcolor"); Cmd_AddCommand("r_wallcolor"); //gamma