mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
fix a crash while changing the volume
This commit is contained in:
parent
45ea768590
commit
34b78700c4
1 changed files with 1 additions and 0 deletions
|
@ -579,6 +579,7 @@ void audio_sample_play(struct ModAudio* audio, Vec3f position, f32 volume) {
|
|||
}
|
||||
|
||||
void audio_custom_update_volume(void) {
|
||||
if (!sModAudioPool) { return; }
|
||||
struct DynamicPoolNode* node = sModAudioPool->tail;
|
||||
while (node) {
|
||||
struct DynamicPoolNode* prev = node->prev;
|
||||
|
|
Loading…
Reference in a new issue