Commit 6111ca31 authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Duke3d: remove added distance check from sound playback

This fixes a longstanding bug with the TELEPORTER sound. Unfortunately, I no longer remember what problem this distance check was added to address.
parent 645941b8
......@@ -815,8 +815,10 @@ int S_PlaySound3D(int num, int spriteNum, const vec3_t *pos)
}
else
{
#if 0
if (sndist > 32767 && PN(spriteNum) != MUSICANDSFX && (snd.m & (SF_LOOP|SF_MSFX)) == 0)
return -1;
#endif
if (pOther->cursectnum > -1 && sector[pOther->cursectnum].lotag == ST_2_UNDERWATER
&& (snd.m & SF_TALK) == 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment