mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 12:32:09 +00:00
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:
parent
ebac005c9e
commit
0698817a7f
1 changed files with 1 additions and 5 deletions
|
@ -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 ) );
|
||||
}
|
||||
Q_strncpyz( s_backgroundLoop, loop, sizeof( s_backgroundLoop ) );
|
||||
|
||||
S_OpenBackgroundStream( intro );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue