summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/snd_dma.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/snd_dma.c b/src/client/snd_dma.c
index 936590e0..369d697d 100644
--- a/src/client/snd_dma.c
+++ b/src/client/snd_dma.c
@@ -1440,11 +1440,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 );
}