ref: f17137ef1990270b3f6b46845e8c8ec80644f288
parent: 0493d7b7bb62d7d260e58910f2bf8daa47c2fa21
author: qwx <[email protected]>
date: Thu Aug 5 05:28:48 EDT 2021
in: save m_ cvars in cfg why the hell wouldn't you want to?
--- a/in.c
+++ b/in.c
@@ -439,12 +439,11 @@
lookspring = Cvar_Get("lookspring", "0", CVAR_ARCHIVE);
lookstrafe = Cvar_Get("lookstrafe", "0", CVAR_ARCHIVE);
m_pitch = Cvar_Get("m_pitch", "0.022", CVAR_ARCHIVE);
-
- m_yaw = Cvar_Get("m_yaw", "0.022", 0);
- m_forward = Cvar_Get("m_forward", "1", 0);
- m_side = Cvar_Get("m_side", "0.8", 0);
+ m_yaw = Cvar_Get("m_yaw", "0.022", CVAR_ARCHIVE);
+ m_forward = Cvar_Get("m_forward", "1", CVAR_ARCHIVE);
+ m_side = Cvar_Get("m_side", "0.8", CVAR_ARCHIVE);
m_windowed = Cvar_Get("m_windowed", "1", CVAR_ARCHIVE);
- m_filter = Cvar_Get("m_filter", "0", 0);
+ m_filter = Cvar_Get("m_filter", "0", CVAR_ARCHIVE);
Cmd_AddCommand("+mlook", IN_MLookDown);
Cmd_AddCommand("-mlook", IN_MLookUp);