Remove unused code path from S_Base_StartBackgroundTrack

We make sure intro isn't NULL. Then if loop is NULL, set it to intro.
This commit is contained in:
Zack Middleton 2014-01-12 18:16:39 -06:00
parent ebac005c9e
commit 0698817a7f

View file

@ -1424,11 +1424,7 @@ void S_Base_StartBackgroundTrack( const char *intro, const char *loop ){
return;
}
if( !loop ) {
s_backgroundLoop[0] = 0;
} else {
Q_strncpyz( s_backgroundLoop, loop, sizeof( s_backgroundLoop ) );
}
S_OpenBackgroundStream( intro );
}