mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- SW: Repair issues with sector object sounds following a506b45369
.
* Fixes #132
This commit is contained in:
parent
a8eaf3575f
commit
666fe71201
1 changed files with 2 additions and 2 deletions
|
@ -2405,7 +2405,7 @@ void PlaySOsound(short sectnum, short sound_num)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
// play idle sound - sound 1
|
// play idle sound - sound 1
|
||||||
SectIterator it(StatDamageList[sectnum]);
|
SectIterator it(sectnum);
|
||||||
while ((i = it.NextIndex()) >= 0)
|
while ((i = it.NextIndex()) >= 0)
|
||||||
{
|
{
|
||||||
if (sprite[i].statnum == STAT_SOUND_SPOT)
|
if (sprite[i].statnum == STAT_SOUND_SPOT)
|
||||||
|
@ -2421,7 +2421,7 @@ void StopSOsound(short sectnum)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
// play idle sound - sound 1
|
// play idle sound - sound 1
|
||||||
SectIterator it(StatDamageList[sectnum]);
|
SectIterator it(sectnum);
|
||||||
while ((i = it.NextIndex()) >= 0)
|
while ((i = it.NextIndex()) >= 0)
|
||||||
{
|
{
|
||||||
if (sprite[i].statnum == STAT_SOUND_SPOT)
|
if (sprite[i].statnum == STAT_SOUND_SPOT)
|
||||||
|
|
Loading…
Reference in a new issue