Shortened the ruleset sound length to 10 secs

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2611 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2007-08-24 17:40:31 +00:00
parent 8a63e785b8
commit d7dbd4bb21

View file

@ -919,7 +919,7 @@ void S_StartSoundCard(soundcardinfo_t *sc, int entnum, int entchannel, sfx_t *sf
if (scache->length > snd_speed*20 && !ruleset_allow_overlongsounds.value)
{
Con_DPrintf("Shortening over-long sound effect\n");
startpos = scache->length - snd_speed*20;
startpos = scache->length - snd_speed*10;
}
target_chan->sfx = sfx;
target_chan->pos = startpos;