mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-15 22:21:26 +00:00
When changing to same music, reset the internal volume
This commit is contained in:
parent
c021e29835
commit
67e2857303
1 changed files with 5 additions and 0 deletions
|
@ -1523,6 +1523,11 @@ void S_ChangeMusicEx(const char *mmusic, UINT16 mflags, boolean looping, UINT32
|
||||||
I_SetSongPosition(position);
|
I_SetSongPosition(position);
|
||||||
I_FadeSong(100, fadeinms, NULL);
|
I_FadeSong(100, fadeinms, NULL);
|
||||||
}
|
}
|
||||||
|
else // reset volume to 100 with same music
|
||||||
|
{
|
||||||
|
I_StopFadingSong();
|
||||||
|
I_SetInternalMusicVolume(100);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void S_StopMusic(void)
|
void S_StopMusic(void)
|
||||||
|
|
Loading…
Reference in a new issue