]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
changed defaults for chase_active camera position, and the settings are now saved...
authorlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Oct 2001 13:41:55 +0000 (13:41 +0000)
committerlordhavoc <lordhavoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 15 Oct 2001 13:41:55 +0000 (13:41 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@921 d7cf8633-e32d-0410-b094-e92efae38249

chase.c

diff --git a/chase.c b/chase.c
index 9bab5473dc09a8be7f207cb73b6008f13add33f9..7633ff6cc9be4a3a815aeff8d06dc130a96c250b 100644 (file)
--- a/chase.c
+++ b/chase.c
@@ -21,9 +21,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
 #include "quakedef.h"
 
-cvar_t chase_back = {"chase_back", "48"};
-cvar_t chase_up = {"chase_up", "22"};
-cvar_t chase_active = {"chase_active", "0"};
+cvar_t chase_back = {"chase_back", "48", true};
+cvar_t chase_up = {"chase_up", "48", true};
+cvar_t chase_active = {"chase_active", "0", true};
 
 void Chase_Init (void)
 {
@@ -57,7 +57,7 @@ void Chase_Update (void)
        float   dist;
 
        chase_back.value = bound(0, chase_back.value, 128);
-       chase_up.value = bound(-64, chase_up.value, 64);
+       chase_up.value = bound(-48, chase_up.value, 96);
 
        AngleVectors (cl.viewangles, forward, NULL, NULL);