fix JailAudioSDL3: havia un error de copy-paste
This commit is contained in:
1 parent
8d406bc104
commit
ce48cda0bc
1 file changed
+1
-1
Vendored
+1
-1
@@ -487,7 +487,7 @@ void JA_StopChannel(const int channel)
|
|||||||
{
|
{
|
||||||
if (channels[i].state != JA_CHANNEL_FREE)
|
if (channels[i].state != JA_CHANNEL_FREE)
|
||||||
SDL_DestroyAudioStream(channels[i].stream);
|
SDL_DestroyAudioStream(channels[i].stream);
|
||||||
channels[channel].stream = nullptr;
|
channels[i].stream = nullptr;
|
||||||
channels[i].state = JA_CHANNEL_FREE;
|
channels[i].state = JA_CHANNEL_FREE;
|
||||||
channels[i].pos = 0;
|
channels[i].pos = 0;
|
||||||
channels[i].sound = NULL;
|
channels[i].sound = NULL;
|
||||||
|
|||||||
Reference in new issue
Block a user