]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
S_LocalSound now uses ATTN_NONE, so menu sounds and such will no longer be centered...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 May 2005 18:32:46 +0000 (18:32 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 8 May 2005 18:32:46 +0000 (18:32 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5250 d7cf8633-e32d-0410-b094-e92efae38249

snd_main.c

index 9e2653283a8dcd3ad7de94ae84ca83c99688de94..b772db81fd739d6c6cf14f5cf791b59044a87e13 100644 (file)
@@ -1055,7 +1055,7 @@ qboolean S_LocalSound (const char *sound)
        // Local sounds must not be freed
        sfx->flags |= SFXFLAG_PERMANENTLOCK;
 
-       ch_ind = S_StartSound (cl.viewentity, 0, sfx, vec3_origin, 1, 1);
+       ch_ind = S_StartSound (cl.viewentity, 0, sfx, vec3_origin, 1, 0);
        if (ch_ind < 0)
                return false;