engine: fix build

This commit is contained in:
AimlessWanderer 2020-01-11 18:23:17 +02:00 committed by Alibek Omarov
parent b9ec7ac886
commit 022792709d
1 changed files with 4 additions and 2 deletions

View File

@ -342,13 +342,15 @@ SCR_BeginLoadingPlaque
*/
void SCR_BeginLoadingPlaque( qboolean is_background )
{
#if !XASH_DEDICATED
float oldclear;
#endif
S_StopAllSounds( true );
cl.audio_prepped = false; // don't play ambients
cl.video_prepped = false;
#if !XASH_DEDICATED
float oldclear;
if( !Host_IsDedicated() )
oldclear = gl_clear->value;
#endif