From f060e97aae6eef9efc5a436df9e7c2f1a6ce0409 Mon Sep 17 00:00:00 2001 From: revility <32818302+revility@users.noreply.github.com> Date: Wed, 10 Oct 2018 07:19:16 -0400 Subject: [PATCH] pm_thirdperson cvar archive removed This was done so pm_thirdperson wil always reset to 1 when starting the game. If the game crashes or quits while in first person it was starting back up in it before. --- game/gamesys/SysCvar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/gamesys/SysCvar.cpp b/game/gamesys/SysCvar.cpp index 256a648..80275b2 100644 --- a/game/gamesys/SysCvar.cpp +++ b/game/gamesys/SysCvar.cpp @@ -274,7 +274,7 @@ idCVar pm_thirdPersonRange( "pm_thirdPersonRange", "75", CVAR_GAME | CVAR_N idCVar pm_thirdPersonHeight( "pm_thirdPersonHeight", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "height of camera from normal view height in 3rd person" ); idCVar pm_thirdPersonAngle( "pm_thirdPersonAngle", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "direction of camera from player in 3rd person in degrees (0 = behind player, 180 = in front)" ); idCVar pm_thirdPersonClip( "pm_thirdPersonClip", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_BOOL, "clip third person view into world space" ); -idCVar pm_thirdPerson( "pm_thirdPerson", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_BOOL, "enables third person view" ); //ivan +idCVar pm_thirdPerson( "pm_thirdPerson", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_BOOL, "enables third person view" ); //ivan //rev 2018 removed archive so it always resets to 1. idCVar pm_thirdPersonDeath( "pm_thirdPersonDeath", "0", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_BOOL, "enables third person view when player dies" ); idCVar pm_modelView( "pm_modelView", "1", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_INTEGER, "draws camera from POV of a player model's joint (1 = always, 2 = when dead)", 0, 2, idCmdSystem::ArgCompletion_Integer<0,2> ); idCVar pm_thirdPersonSideScale( "pm_thirdPersonSideScale", "-0.45", CVAR_GAME | CVAR_NETWORKSYNC | CVAR_ARCHIVE | CVAR_FLOAT, "offsets camera from left to right in 3rd person. 0 is center. use negatives to move right and decimals for small offsets." );