mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 20:42:11 +00:00
- Exhumed: Set up cl_viewbob
so its disabled by default since the game never had it.
This commit is contained in:
parent
8f9b413d38
commit
04ac4561a8
2 changed files with 5 additions and 1 deletions
|
@ -1084,6 +1084,10 @@ int RunGame()
|
|||
cl_weaponswitch->SetGenericRepDefault(1, CVAR_Int);
|
||||
if (cl_weaponswitch > 1) cl_weaponswitch = 1;
|
||||
}
|
||||
if (isExhumed())
|
||||
{
|
||||
cl_viewbob->SetGenericRepDefault(0, CVAR_Int); // Exhumed never had this feature, make it optional.
|
||||
}
|
||||
if (g_gameType & (GAMEFLAG_BLOOD|GAMEFLAG_RR))
|
||||
{
|
||||
am_nameontop->SetGenericRepDefault(true, CVAR_Bool); // Blood and RR show the map name on the top of the screen by default.
|
||||
|
|
|
@ -69,7 +69,7 @@ CVARD(Bool, cl_idplayers, true, CVAR_ARCHIVE, "enable/disable name display when
|
|||
CVARD(Bool, cl_weaponsway, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable player weapon swaying")
|
||||
|
||||
// Todo: Consolidate these to be consistent across games?
|
||||
CUSTOM_CVARD(Int, cl_viewbob, 1, CVAR_ARCHIVE|CVAR_GLOBALCONFIG, "enable/disable player head bobbing")
|
||||
CUSTOM_CVARD(Int, cl_viewbob, 1, CVAR_ARCHIVE, "enable/disable player head bobbing")
|
||||
{
|
||||
if (self < 0) self = 0;
|
||||
else if (self > 2) self = 2;
|
||||
|
|
Loading…
Reference in a new issue