mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-02-17 01:11:18 +00:00
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:
parent
8a63e785b8
commit
d7dbd4bb21
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
if (scache->length > snd_speed*20 && !ruleset_allow_overlongsounds.value)
|
||||||
{
|
{
|
||||||
Con_DPrintf("Shortening over-long sound effect\n");
|
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->sfx = sfx;
|
||||||
target_chan->pos = startpos;
|
target_chan->pos = startpos;
|
||||||
|
|
Loading…
Reference in a new issue