Don't call stopsound() in Magic shutdown()...
...causes a segfault at that point (Mixer already gone?!)
This commit is contained in:
parent
00305ab31d
commit
628fa77f94
1 changed files with 0 additions and 2 deletions
|
|
@ -261,8 +261,6 @@ void comicdot_shutdown(magic_api * api ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
api->stopsound();
|
|
||||||
|
|
||||||
if (comicdot_snd != NULL)
|
if (comicdot_snd != NULL)
|
||||||
Mix_FreeChunk(comicdot_snd);
|
Mix_FreeChunk(comicdot_snd);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue