diff options
author | enneract <trem.redman@gmail.com> | 2014-12-14 14:47:51 +0100 |
---|---|---|
committer | enneract <trem.redman@gmail.com> | 2014-12-14 14:47:51 +0100 |
commit | 5130cdd357c5b3b442d39ee05052739419456e77 (patch) | |
tree | e4b8ed3e15a06ca91c633346d51fa4203cf1b156 /src/cgame/cg_main.c | |
parent | bb6121f265d70282aeba57a252996f130e5d6df8 (diff) |
Limit view quake's mangitude.
Diffstat (limited to 'src/cgame/cg_main.c')
-rw-r--r-- | src/cgame/cg_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cgame/cg_main.c b/src/cgame/cg_main.c index c5ad444..366a6a3 100644 --- a/src/cgame/cg_main.c +++ b/src/cgame/cg_main.c @@ -230,6 +230,7 @@ vmCvar_t cg_EDGEFPSFIX; vmCvar_t cg_viewQuake; vmCvar_t cg_viewQuakeLambda; +vmCvar_t cg_viewQuakeLimit; typedef struct { @@ -377,7 +378,8 @@ static cvarTable_t cvarTable[ ] = { &cg_EDGEFPSFIX, "cg_EDGEFPSFIX", "0", CVAR_ARCHIVE|CVAR_USERINFO }, { &cg_viewQuake, "cg_viewQuake", "1", CVAR_ARCHIVE }, - { &cg_viewQuakeLambda, "cg_viewQuakeLambda", "-10", CVAR_ARCHIVE } + { &cg_viewQuakeLambda, "cg_viewQuakeLambda", "-10", CVAR_ARCHIVE }, + { &cg_viewQuakeLimit, "cg_viewQuakeLimit", "5", CVAR_ARCHIVE } }; static int cvarTableSize = sizeof( cvarTable ) / sizeof( cvarTable[0] ); |