From 89e2500f8b78159e95a06316143f5549e32e0994 Mon Sep 17 00:00:00 2001 From: DeaDDooMER Date: Tue, 24 Mar 2020 17:26:33 +0300 Subject: [PATCH] openal: fix assignment in condition --- src/openal/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openal/sound.c b/src/openal/sound.c index 9dfca19..fc1e60a 100644 --- a/src/openal/sound.c +++ b/src/openal/sound.c @@ -183,7 +183,7 @@ void S_free (snd_t *s) { ALint h; openal_snd *snd = (openal_snd*)s; if (snd != NULL) { - assert(snd->base.tag = TAG_OAL1); + assert(snd->base.tag == TAG_OAL1); if (context != NULL) { for (i = 0; i < MAX_CHANNELS; i++) { alGetSourcei(sources[i], AL_BUFFER, &h); -- 2.29.2