From 2d58801d8c0bd8e992c3eb83053c8337d2227d12 Mon Sep 17 00:00:00 2001 From: terminx Date: Sun, 14 Oct 2012 14:43:37 +0000 Subject: [PATCH] Add cvar "cl_runmode" to control ud.runkey_mode. This should fix the "allow walk while running" preference not saving. git-svn-id: https://svn.eduke32.com/eduke32@3069 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/osdcmds.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/polymer/eduke32/source/osdcmds.c b/polymer/eduke32/source/osdcmds.c index e9555f499..ac132aa96 100644 --- a/polymer/eduke32/source/osdcmds.c +++ b/polymer/eduke32/source/osdcmds.c @@ -1398,6 +1398,8 @@ int32_t registerosdcommands(void) { "cl_idplayers", "cl_idplayers: enable/disable name display when aiming at opponents", (void *)&ud.idplayers, CVAR_BOOL, 0, 1 }, + { "cl_runmode", "cl_runmode: enable/disable modernized run key operation", (void *)&ud.runkey_mode, CVAR_BOOL, 0, 1 }, + { "cl_showcoords", "cl_showcoords: show your position in the game world", (void *)&ud.coords, CVAR_BOOL, 0, 1 }, { "cl_viewbob", "cl_viewbob: enable/disable player head bobbing", (void *)&ud.viewbob, CVAR_BOOL, 0, 1 },