Don't call stopsound() in Magic shutdown()...

...causes a segfault at that point (Mixer already gone?!)
This commit is contained in:
Bill Kendrick 2024-09-17 22:25:36 -07:00
parent 00305ab31d
commit 628fa77f94

View file

@ -261,8 +261,6 @@ void comicdot_shutdown(magic_api * api ATTRIBUTE_UNUSED)
{
int i;
api->stopsound();
if (comicdot_snd != NULL)
Mix_FreeChunk(comicdot_snd);