music_mod.c
changeset 478 a928714c28dc
parent 473 60b7e1c4f6b2
child 479 3d8a5a7b1249
     1.1 --- a/music_mod.c	Sat Nov 14 19:35:50 2009 +0000
     1.2 +++ b/music_mod.c	Sat Nov 14 20:38:24 2009 +0000
     1.3 @@ -131,7 +131,9 @@
     1.4  /* Uninitialize the music players */
     1.5  void MOD_exit(void)
     1.6  {
     1.7 -	mikmod.MikMod_Exit();
     1.8 +	if (mikmod.MikMod_Exit) {
     1.9 +		mikmod.MikMod_Exit();
    1.10 +	}
    1.11  }
    1.12  
    1.13  /* Set the volume for a MOD stream */