make destroy try its best to close sound and music

This commit is contained in:
Brian Matzon 2006-06-06 20:37:11 +00:00
parent 9cfd950c15
commit 548fc1df71
1 changed files with 3 additions and 0 deletions

View File

@ -277,6 +277,9 @@ public class FMOD {
return;
}
FSound.FSOUND_Close();
FMusic.FMUSIC_StopAllSongs();
created = false;
nDestroy();
}