Skip to content

Commit 2100f3f

Browse files
committed
Unpause when regaining focus
1 parent 0661f67 commit 2100f3f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

releasenotes.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* The border of the menu’s background is now only displayed if the `vid_fullscreen` CVAR is `on`.
2424
* The help screen can now be shown by pressing the <kbd><b>F1</b></kbd> key when the menu is open.
2525
* The window’s caption now includes the current episode or expansion when playing a game.
26+
* *DOOM Retro* no longer remains paused when its window regains focus.
2627
* When the `animatedstats` CVAR is `on`:
2728
* The player’s health now animates correctly if they are telefragged.
2829
* The player’s health, armor and ammo now animate correctly when loading a savegame.

src/i_video.c

+1
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@ static void I_GetEvent(void)
454454
if (!windowfocused)
455455
{
456456
windowfocused = true;
457+
paused = false;
457458
S_ResumeMusic();
458459
I_InitKeyboard();
459460
}

0 commit comments

Comments
 (0)