git-svn-id: https://svn.eduke32.com/eduke32@643 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
terminx 2008-03-14 21:05:30 +00:00
parent 02c5d0b87b
commit 47763f8cce

View file

@ -487,7 +487,6 @@ void PlayMusic(char *_filename)
int rc;
MUSIC_StopSong();
initprintf("trying to play %s\n",_filename);
// Read from a groupfile, write it to disk so SDL_mixer can read it.
// Lame. --ryan.
handle = kopen4load(_filename, 0);
@ -539,11 +538,9 @@ void PlayMusic(char *_filename)
//music_songdata = song;
music_musicchunk = Mix_LoadMUS(filename);
initprintf("filename: %s\n",filename);
if (music_musicchunk != NULL)
{
// !!! FIXME: I set the music to loop. Hope that's okay. --ryan.
initprintf("playing..\n");
Musicsize = size;
Mix_PlayMusic(music_musicchunk, -1);
} // if