]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
cl_bobmodel is now a saved cvar
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Jun 2006 07:29:19 +0000 (07:29 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 4 Jun 2006 07:29:19 +0000 (07:29 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6414 d7cf8633-e32d-0410-b094-e92efae38249

view.c

diff --git a/view.c b/view.c
index dfcba088a3cde3e24de45d60adf9123e2af8c167..9fab2676e20c434511124f10bf33c7d38664e591 100644 (file)
--- a/view.c
+++ b/view.c
@@ -38,7 +38,7 @@ cvar_t cl_bob = {0, "cl_bob","0.02", "view bobbing amount"};
 cvar_t cl_bobcycle = {0, "cl_bobcycle","0.6", "view bobbing speed"};
 cvar_t cl_bobup = {0, "cl_bobup","0.5", "view bobbing adjustment that makes the up or down swing of the bob last longer"};
 
-cvar_t cl_bobmodel = {0, "cl_bobmodel", "1", "enables gun bobbing"};
+cvar_t cl_bobmodel = {CVAR_SAVE, "cl_bobmodel", "1", "enables gun bobbing"};
 cvar_t cl_bobmodel_side = {0, "cl_bobmodel_side", "0.05", "gun bobbing sideways sway amount"};
 cvar_t cl_bobmodel_up = {0, "cl_bobmodel_up", "0.02", "gun bobbing upward movement amount"};
 cvar_t cl_bobmodel_speed = {0, "cl_bobmodel_speed", "7", "gun bobbing speed"};