mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Merge remote-tracking branch 'remotes/james/unpause-resume-sounds' into version-prep
This commit is contained in:
commit
6555802dc0
1 changed files with 4 additions and 4 deletions
|
|
@ -615,12 +615,12 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt)
|
||||||
{
|
{
|
||||||
// Tell game we got focus back, resume music if necessary
|
// Tell game we got focus back, resume music if necessary
|
||||||
window_notinfocus = false;
|
window_notinfocus = false;
|
||||||
|
|
||||||
if (!paused)
|
if (!paused)
|
||||||
{
|
|
||||||
I_ResumeSong(); //resume it
|
I_ResumeSong(); //resume it
|
||||||
if (cv_gamesounds.value)
|
|
||||||
S_EnableSound();
|
if (cv_gamesounds.value)
|
||||||
}
|
S_EnableSound();
|
||||||
|
|
||||||
if (!firsttimeonmouse)
|
if (!firsttimeonmouse)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue