File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -154,26 +154,7 @@ void Dvar_SetFromStringByName(const char *dvarName, const char *string)
154154 if (dvarName && string)
155155 {
156156 if (!_stricmp (dvarName, " cg_fov" ) && !_stricmp (string, " 65" ))
157- {
158- if (cg_fov == NULL || cg_fov_default == NULL )
159- return ;
160-
161- #if _DEBUG
162- Com_Printf (0 , " CG_FOV_DEFAULT: %p\n " , cg_fov_default);
163- Com_Printf (0 , " CG_FOV_DEFAULT: %f\n " , cg_fov_default->current .value );
164- #endif
165-
166- //
167- // Note: If we run Dvar_SetFloat *every* time the game crashes
168- //
169- if (cg_fov->current .value != cg_fov_default->current .value )
170- {
171- Dvar_SetFloat (cg_fov, cg_fov_default->current .value );
172- return ;
173- }
174-
175157 return ;
176- }
177158
178159 if (!_stricmp (dvarName, " cg_default_fov" ) && !_stricmp (string, " 65" ))
179160 return ;
You can’t perform that action at this time.
0 commit comments