Commit 28659bb
committed
fix deletion of looping sounds
Per the comment earlier in this function, both -1 and -2 are expected values for sound indexes. Update the sound validity check accordingly. Fixes an assertion in `obj_snd_delete()` encountered by FotG when a sound index was -2.1 parent a84941e commit 28659bb
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10360 | 10360 | | |
10361 | 10361 | | |
10362 | 10362 | | |
10363 | | - | |
| 10363 | + | |
10364 | 10364 | | |
10365 | | - | |
10366 | | - | |
10367 | | - | |
| 10365 | + | |
| 10366 | + | |
10368 | 10367 | | |
10369 | 10368 | | |
10370 | 10369 | | |
| |||
0 commit comments