music.c
branchSDL-1.2
changeset 597 a4e9c53d9c30
parent 565 64688955a7b2
child 601 05123263dab3
child 864 c8dc1ec196f5
     1.1 --- a/music.c	Sun Mar 04 21:32:47 2012 +0000
     1.2 +++ b/music.c	Thu Jan 03 10:18:59 2013 -0500
     1.3 @@ -1283,6 +1283,9 @@
     1.4  	SDL_LockAudio();
     1.5  	if ( music_playing ) {
     1.6  		music_internal_halt();
     1.7 +		if ( music_finished_hook ) {
     1.8 +			music_finished_hook();
     1.9 +		}
    1.10  	}
    1.11  	SDL_UnlockAudio();
    1.12