Win32 boolean fixes

This commit is contained in:
mazmazz 2018-11-13 17:24:19 -05:00
parent 894ee02f3f
commit 2db2b6e6af
1 changed files with 3 additions and 3 deletions

View File

@ -492,15 +492,15 @@ musictype_t I_SongType(void)
boolean I_SongPlaying(void) boolean I_SongPlaying(void)
{ {
return (boolean)music_stream; return (music_stream != NULL);
} }
boolean I_SongPaused(void) boolean I_SongPaused(void)
{ {
boolean fmpaused = false; FMOD_BOOL fmpaused = false;
if (music_stream) if (music_stream)
FMOD_Channel_GetPaused(music_channel, &fmpaused); FMOD_Channel_GetPaused(music_channel, &fmpaused);
return fmpaused; return (boolean)fmpaused;
} }
/// ------------------------ /// ------------------------