- set i_pauseinbackground to match !(i_soundinbackground) for all configs before this commit.
This commit is contained in:
parent
013f2003e8
commit
0344462684
2 changed files with 8 additions and 1 deletions
|
|
@ -73,6 +73,8 @@ EXTERN_CVAR(Float, m_sensitivity_y)
|
|||
EXTERN_CVAR(Int, adl_volume_model)
|
||||
EXTERN_CVAR (Int, gl_texture_hqresize_targets)
|
||||
EXTERN_CVAR(Int, wipetype)
|
||||
EXTERN_CVAR(Bool, i_pauseinbackground)
|
||||
EXTERN_CVAR(Bool, i_soundinbackground)
|
||||
|
||||
#ifdef _WIN32
|
||||
EXTERN_CVAR(Int, in_mouse)
|
||||
|
|
@ -591,6 +593,11 @@ void FGameConfigFile::DoGlobalSetup ()
|
|||
if (v.Float < 1.f) v.Float = 1.f;
|
||||
}
|
||||
}
|
||||
if (last < 223)
|
||||
{
|
||||
// ooooh boy did i open a can of worms with this one.
|
||||
i_pauseinbackground = !(i_soundinbackground);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue