diff options
author | Tim Angus <tim@ngus.net> | 2005-09-02 16:25:20 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2005-09-02 16:25:20 +0000 |
commit | 65633ae078febacbf6c09ff806cc3bd992eea7c3 (patch) | |
tree | 6d413b4ec0844e3530dfcd11f8a1f8f160bdf895 /src/cgame | |
parent | 3f65e1b88cdf9348d8dd816f480f16478b959a1b (diff) |
* Added option for changing whether or not the wallwalk control is a toggle or not
Diffstat (limited to 'src/cgame')
-rw-r--r-- | src/cgame/cg_local.h | 1 | ||||
-rw-r--r-- | src/cgame/cg_main.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/cgame/cg_local.h b/src/cgame/cg_local.h index ad44eafc..7af0525b 100644 --- a/src/cgame/cg_local.h +++ b/src/cgame/cg_local.h @@ -1462,6 +1462,7 @@ extern vmCvar_t cg_drawBBOX; extern vmCvar_t cg_debugAlloc; extern vmCvar_t cg_wwSmoothTime; extern vmCvar_t cg_wwFollow; +extern vmCvar_t cg_wwToggle; extern vmCvar_t cg_depthSortParticles; extern vmCvar_t cg_consoleLatency; extern vmCvar_t cg_lightFlare; diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index 8a657ab7..fd890426 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -194,6 +194,7 @@ vmCvar_t cg_drawBBOX; vmCvar_t cg_debugAlloc; vmCvar_t cg_wwSmoothTime; vmCvar_t cg_wwFollow; +vmCvar_t cg_wwToggle; vmCvar_t cg_depthSortParticles; vmCvar_t cg_consoleLatency; vmCvar_t cg_lightFlare; @@ -298,6 +299,7 @@ static cvarTable_t cvarTable[ ] = { &cg_debugAlloc, "cg_debugAlloc", "0", 0 }, { &cg_wwSmoothTime, "cg_wwSmoothTime", "300", CVAR_ARCHIVE }, { &cg_wwFollow, "cg_wwFollow", "1", CVAR_ARCHIVE|CVAR_USERINFO }, + { &cg_wwToggle, "cg_wwToggle", "1", CVAR_ARCHIVE|CVAR_USERINFO }, { &cg_depthSortParticles, "cg_depthSortParticles", "1", CVAR_ARCHIVE }, { &cg_consoleLatency, "cg_consoleLatency", "3000", CVAR_ARCHIVE }, { &cg_lightFlare, "cg_lightFlare", "3", CVAR_ARCHIVE }, |