From: lordhavoc Date: Mon, 15 Oct 2001 13:41:55 +0000 (+0000) Subject: changed defaults for chase_active camera position, and the settings are now saved... X-Git-Tag: RELEASE_0_2_0_RC1~787 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=837e8a44a74cd515d8bd2c6663131f69efa760f1;p=xonotic%2Fdarkplaces.git changed defaults for chase_active camera position, and the settings are now saved to the config git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@921 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/chase.c b/chase.c index 9bab5473..7633ff6c 100644 --- 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);