summaryrefslogtreecommitdiff
path: root/src/doom/s_sound.c
diff options
context:
space:
mode:
authorSimon Howard2012-12-24 00:03:41 +0000
committerSimon Howard2012-12-24 00:03:41 +0000
commitf1934e990d7c6d8034650fa09b8a175b542330ba (patch)
tree2f7a6c1079f98ab9f3a54a6d6354fc7675e4c39e /src/doom/s_sound.c
parentea5b5f171623740a74f1b2bef80527c044373502 (diff)
parentadbfa3216cf3ef6f71cc5b6b22c25a04ae737212 (diff)
downloadchocolate-doom-f1934e990d7c6d8034650fa09b8a175b542330ba.tar.gz
chocolate-doom-f1934e990d7c6d8034650fa09b8a175b542330ba.tar.bz2
chocolate-doom-f1934e990d7c6d8034650fa09b8a175b542330ba.zip
Merge from trunk.
Subversion-branch: /branches/v2-branch Subversion-revision: 2553
Diffstat (limited to 'src/doom/s_sound.c')
-rw-r--r--src/doom/s_sound.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/doom/s_sound.c b/src/doom/s_sound.c
index 7f4411dd..12a55d8f 100644
--- a/src/doom/s_sound.c
+++ b/src/doom/s_sound.c
@@ -404,7 +404,6 @@ void S_StartSound(void *origin_p, int sfx_id)
mobj_t *origin;
int rc;
int sep;
- int priority;
int cnum;
int volume;
@@ -422,7 +421,6 @@ void S_StartSound(void *origin_p, int sfx_id)
// Initialize sound parameters
if (sfx->link)
{
- priority = sfx->priority;
volume += sfx->volume;
if (volume < 1)
@@ -434,10 +432,6 @@ void S_StartSound(void *origin_p, int sfx_id)
{
volume = snd_SfxVolume;
}
- }
- else
- {
- priority = NORM_PRIORITY;
}