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

View File

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