Files
fs2open.github.com/code/object
Goober5000 b6eef2e8f2 fix persistent sounds not clearing their tally
When a non-looping persistent sound expires, `obj_snd_stop()` actually does need to be called.  Even though the sound is no longer playing, the `Num_obj_sounds_playing` tally needs to be decremented, otherwise it will eventually exceed its limit and prevent any additional persistent sounds from playing.  And it turns out `obj_snd_stop()` returns gracefully for sounds that aren't playing.

Follow-up to #3510.  Fixes a bug that appears to have been around since retail.
2023-08-25 13:27:09 -04:00
..
2023-03-28 03:07:03 +09:00
2020-07-18 22:28:51 -04:00
2021-05-25 23:03:20 -04:00
2021-05-25 23:03:20 -04:00
2022-11-06 11:27:18 -05:00
2022-11-06 11:27:18 -05:00