Add back CVAR_ARCHIVE, lost in 60a4bd3.

I hate this code. 60a4bd3 removed unnecessary Cvar_Get() calls,
unfortunately they were the ones defining CVAR_ARCHIVE. The
remaining ones did not...
This commit is contained in:
Yamagi 2020-02-23 18:46:35 +01:00
parent ff9f9accd3
commit 0a08d8bfb1
1 changed files with 3 additions and 3 deletions

View File

@ -1212,16 +1212,16 @@ IN_Init(void)
joystick_yaw = joystick_pitch = joystick_forwardmove = joystick_sidemove = 0;
exponential_speedup = Cvar_Get("exponential_speedup", "0", CVAR_ARCHIVE);
freelook = Cvar_Get("freelook", "1", 0);
freelook = Cvar_Get("freelook", "1", CVAR_ARCHIVE);
in_grab = Cvar_Get("in_grab", "2", CVAR_ARCHIVE);
lookstrafe = Cvar_Get("lookstrafe", "0", 0);
lookstrafe = Cvar_Get("lookstrafe", "0", CVAR_ARCHIVE);
m_filter = Cvar_Get("m_filter", "0", CVAR_ARCHIVE);
m_up = Cvar_Get("m_up", "1", 0);
m_forward = Cvar_Get("m_forward", "1", 0);
m_pitch = Cvar_Get("m_pitch", "0.022", 0);
m_side = Cvar_Get("m_side", "0.8", 0);
m_yaw = Cvar_Get("m_yaw", "0.022", 0);
sensitivity = Cvar_Get("sensitivity", "3", 0);
sensitivity = Cvar_Get("sensitivity", "3", CVAR_ARCHIVE);
joy_haptic_magnitude = Cvar_Get("joy_haptic_magnitude", "0.0", CVAR_ARCHIVE);