- [FIX] copy paste de merda

This commit is contained in:
2025-06-29 13:04:21 +02:00
parent 4c46581ae1
commit 1f4628122f

View File

@@ -441,7 +441,7 @@ void JA_StopChannel(const int channel)
{
for (int i = 0; i < JA_MAX_SIMULTANEOUS_CHANNELS; i++) {
if (channels[i].state != JA_CHANNEL_FREE) SDL_DestroyAudioStream(channels[i].stream);
channels[channel].stream = nullptr;
channels[i].stream = nullptr;
channels[i].state = JA_CHANNEL_FREE;
channels[i].pos = 0;
channels[i].sound = NULL;