mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 21:01:04 +00:00
Win32 boolean fixes
This commit is contained in:
parent
894ee02f3f
commit
2db2b6e6af
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// ------------------------
|
/// ------------------------
|
||||||
|
|
Loading…
Reference in a new issue