]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed S_StartSound to start a sound even if it has no fetcher, as the fetcher isn...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Nov 2004 11:49:41 +0000 (11:49 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 20 Nov 2004 11:49:41 +0000 (11:49 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4776 d7cf8633-e32d-0410-b094-e92efae38249

snd_main.c

index 143eeaa8242b566cc2e363d389ae87caa0876959..3672c6807fcbca3f3c8525a454a7afa28c6367b0 100644 (file)
@@ -527,7 +527,7 @@ int S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float f
        int             ch_idx;
        size_t  skip;
 
-       if (!sound_started || !sfx || !sfx->fetcher || nosound.integer)
+       if (!sound_started || !sfx || nosound.integer)
                return -1;
 
        // Pick a channel to play on