fix JailAudioSDL3: havia un error de copy-paste

This commit is contained in:
2025-06-27 21:16:23 +02:00
parent 8d406bc104
commit ce48cda0bc

View File

@@ -487,7 +487,7 @@ void JA_StopChannel(const int channel)
{
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;