]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cd_sdl.c
removed detail texturing (it only worked in q1bsp and hlbsp maps, did not work proper...
[xonotic/darkplaces.git] / cd_sdl.c
index 11eb01ea1a30c15a33a3ca1f48969970e14cde41..9e6cb034c32099cffb5acb9b9b09d6b218af8e4f 100644 (file)
--- a/cd_sdl.c
+++ b/cd_sdl.c
@@ -106,7 +106,7 @@ int CDAudio_SysResume (void)
 {
        SDL_CDResume( cd );
        endtime = realtime + (cd->track[ cdPlayTrack - 1 ].length - pauseoffset) / CD_FPS;
-       return SDL_CDPlayTracks( cd, cdPlayTrack - 1, pauseoffset, cdPlayTrack, 0 );
+       return SDL_CDPlayTracks( cd, cdPlayTrack - 1, (int)pauseoffset, cdPlayTrack, 0 );
 }
 
 int CDAudio_SysUpdate (void)
@@ -130,7 +130,7 @@ int CDAudio_SysUpdate (void)
 void CDAudio_SysInit (void)
 {
        if( SDL_InitSubSystem( SDL_INIT_CDROM ) == -1 ) 
-               Con_SafePrint( "Failed to init the CDROM SDL subsystem!\n" );
+               Con_Print( "Failed to init the CDROM SDL subsystem!\n" );
 
        Cmd_AddCommand( "cddrive", CDAudio_SDL_CDDrive_f );
 }