mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@643 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
02c5d0b87b
commit
47763f8cce
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue