music.c
changeset 613 6fa075aa693e
parent 601 05123263dab3
child 616 7ead8213dfb0
equal deleted inserted replaced
612:e795460706d0 613:6fa075aa693e
   528 		music->error = 0;
   528 		music->error = 0;
   529 		music->type = MUS_CMD;
   529 		music->type = MUS_CMD;
   530 		music->data.cmd = MusicCMD_LoadSong(music_cmd, file);
   530 		music->data.cmd = MusicCMD_LoadSong(music_cmd, file);
   531 		if ( music->data.cmd == NULL ) {
   531 		if ( music->data.cmd == NULL ) {
   532 			SDL_free(music);
   532 			SDL_free(music);
   533 			music == NULL;
   533 			music = NULL;
   534 		}
   534 		}
   535 		return music;
   535 		return music;
   536 	}
   536 	}
   537 #endif
   537 #endif
   538 
   538