engine: client: do not mute sounds in menu with multiplayer, the bug already been solved different way
This commit is contained in:
parent
2dbafbda02
commit
0a051832a8
1 changed files with 0 additions and 6 deletions
|
@ -70,12 +70,6 @@ float S_GetMasterVolume( void )
|
|||
return 0.0f;
|
||||
}
|
||||
|
||||
if( s_listener.inmenu && !ui_renderworld.value && !Host_IsLocalGame( ))
|
||||
{
|
||||
// mute sounds in menu when it's not transparent and we're in multiplayer
|
||||
return 0.0f;
|
||||
}
|
||||
|
||||
if( !s_listener.inmenu && soundfade.percent != 0 )
|
||||
{
|
||||
scale = bound( 0.0f, soundfade.percent / 100.0f, 1.0f );
|
||||
|
|
Loading…
Add table
Reference in a new issue