music_mod.c
changeset 473 60b7e1c4f6b2
parent 470 5cebd6c5be2d
child 478 a928714c28dc
     1.1 --- a/music_mod.c	Sun Nov 08 17:03:07 2009 +0000
     1.2 +++ b/music_mod.c	Sun Nov 08 17:11:09 2009 +0000
     1.3 @@ -206,9 +206,9 @@
     1.4  		0
     1.5  	};
     1.6  	lmmmr.offset = SDL_RWtell(rw);
     1.7 -	SDL_RWseek(rw, 0, SEEK_END);
     1.8 +	SDL_RWseek(rw, 0, RW_SEEK_END);
     1.9  	lmmmr.eof = SDL_RWtell(rw);
    1.10 -	SDL_RWseek(rw, lmmmr.offset, SEEK_SET);
    1.11 +	SDL_RWseek(rw, lmmmr.offset, RW_SEEK_SET);
    1.12          lmmmr.rw = rw;
    1.13  	return mikmod.Player_LoadGeneric((MREADER*)&lmmmr, maxchan, 0);
    1.14  }