music.c
changeset 126 c1062993276e
parent 125 60af9d35aba2
child 129 782927d8df26
     1.1 --- a/music.c	Tue Oct 16 18:18:05 2001 +0000
     1.2 +++ b/music.c	Thu Oct 18 17:02:36 2001 +0000
     1.3 @@ -506,6 +506,13 @@
     1.4  		if ( music->data.module == NULL ) {
     1.5  			Mix_SetError("%s", MikMod_strerror(MikMod_errno));
     1.6  			music->error = 1;
     1.7 +		} else {
     1.8 +			/* Stop implicit looping, fade out and other flags. */
     1.9 +			music->data.module->extspd  = 1;
    1.10 +			music->data.module->panflag = 1;
    1.11 +			music->data.module->wrap    = 0;
    1.12 +			music->data.module->loop    = 0;
    1.13 +			music->data.module->fadeout = 1;
    1.14  		}
    1.15  	} else
    1.16  #endif