mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 04:24:39 +00:00
SW: fixed use of sound attribute array.
This was caused by incompletely reverting a code change.
This commit is contained in:
parent
f9e4ce89fa
commit
053a6875bf
1 changed files with 1 additions and 1 deletions
|
@ -706,7 +706,7 @@ void Terminate3DSounds(void)
|
|||
void PlaySpriteSound(DSWActor* actor, int attrib_ndx, int flags)
|
||||
{
|
||||
if (actor->hasU() && attrib_ndx > attr_none && attrib_ndx < MAXATTRIBSNDS)
|
||||
PlaySound(actor->user.Attrib->Sounds[attrib_ndx], actor, flags);
|
||||
PlaySound(actor->user.Attrib->Sounds[attrib_ndx - 1], actor, flags);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue