- Fix bad if statement guarding cl_clampedpitch in menu and make non-global.

This commit is contained in:
Mitchell Richters 2022-11-07 15:43:26 +11:00
parent c8114e7ed0
commit 9fbe564327
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ CVARD(Bool, cl_bloodqavinterp, true, CVAR_ARCHIVE, "enable/disable Blood's QAV i
CVARD(Bool, cl_bloodweapinterp, false, CVAR_ARCHIVE, "enable/disable Blood's weapon interpolation. Depends on 'cl_bloodqavinterp'")
CVARD(Bool, cl_bloodoldweapbalance, false, CVAR_ARCHIVE, "enable/disable legacy 1.0 weapon handling for Blood")
CVARD(Bool, cl_loadingscreens, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable loading screens for games")
CVARD(Bool, cl_clampedpitch, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "clamp the view pitch to original ranges")
CVARD(Bool, cl_clampedpitch, true, CVAR_ARCHIVE, "clamp the view pitch to original ranges")
CUSTOM_CVARD(Int, cl_autoaim, 1, CVAR_ARCHIVE|CVAR_USERINFO, "enable/disable weapon autoaim")

View file

@ -1020,7 +1020,7 @@ OptionMenu GameplayOptions protected
Option "$ENEMY_BEHAVIOR", "cl_bloodvanillaenemies", "EnemyBehavior"
}
StaticText ""
ifgame(Duke, Nam, WW2GI, Redneck, RedneckRides, Blood, ShadowWarrior)
ifgame(Duke, Nam, WW2GI, Redneck, RedneckRides)
{
Option "$PLRMNU_FULLVIEWPITCH", "cl_clampedpitch", "OffOn"
}