]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Disable by default
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Jul 2010 18:04:25 +0000 (18:04 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 12 Jul 2010 18:04:25 +0000 (18:04 +0000)
From: MirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10287 d7cf8633-e32d-0410-b094-e92efae38249

darkplaces.txt
view.c

index 54bc457ffc6e0881a34ff76e5b5f2d40bc74dac6..84c89dadaf29a001820f34a6d4890cf757be3adf 100644 (file)
@@ -396,7 +396,7 @@ cl_beams_polygons                                 1                   use beam p
 cl_beams_quakepositionhack                        1                   makes your lightning gun appear to fire from your waist (as in Quake and QuakeWorld)
 cl_bob                                            0.02                view bobbing amount
 cl_bobcycle                                       0.6                 view bobbing speed
-cl_bobroll                                        0.001               view rolling amount
+cl_bobroll                                        0                   view rolling amount
 cl_bobrollcycle                                   0.75                view rolling speed
 cl_bobrollairtime                                 0.05                how fast the view rolls back when you stop touching the ground
 cl_bobmodel                                       1                   enables gun bobbing
diff --git a/view.c b/view.c
index 1e8568711915c170799c8a63ddaaa619fa31668d..b0dbaff628ad752948f45646246c8d9a0476f11d 100644 (file)
--- a/view.c
+++ b/view.c
@@ -39,7 +39,7 @@ cvar_t cl_rollangle = {0, "cl_rollangle", "2.0", "how much to tilt the view when
 cvar_t cl_bob = {CVAR_SAVE, "cl_bob","0.02", "view bobbing amount"};
 cvar_t cl_bobcycle = {CVAR_SAVE, "cl_bobcycle","0.6", "view bobbing speed"};
 cvar_t cl_bobup = {CVAR_SAVE, "cl_bobup","0.5", "view bobbing adjustment that makes the up or down swing of the bob last longer"};
-cvar_t cl_bobroll = {CVAR_SAVE, "cl_bobroll","0.001", "view rolling amount"};
+cvar_t cl_bobroll = {CVAR_SAVE, "cl_bobroll","0", "view rolling amount"};
 cvar_t cl_bobrollcycle = {CVAR_SAVE, "cl_bobrollcycle","0.75", "view rolling speed"};
 cvar_t cl_bobrollairtime = {CVAR_SAVE, "cl_bobrollairtime","0.05", "how fast the view rolls back when you stop touching the ground"};
 cvar_t cl_bobmodel = {CVAR_SAVE, "cl_bobmodel", "1", "enables gun bobbing"};