From 7a2b1ee0aa43fb590c838d1aabe8b5f056437f0e Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 10 Aug 2020 22:44:24 +0200 Subject: [PATCH] - moved Blood's updatePauseStatus call to the main loop. Fixes #149 --- source/blood/src/blood.cpp | 1 + source/blood/src/controls.cpp | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blood/src/blood.cpp b/source/blood/src/blood.cpp index 09fff6f75..68a0a47d4 100644 --- a/source/blood/src/blood.cpp +++ b/source/blood/src/blood.cpp @@ -937,6 +937,7 @@ int GameInterface::app_main() commonTicker(playvideo); gameHandleEvents(); + updatePauseStatus(); D_ProcessEvents(); ctrlGetInput(); diff --git a/source/blood/src/controls.cpp b/source/blood/src/controls.cpp index fae0b5283..42b736255 100644 --- a/source/blood/src/controls.cpp +++ b/source/blood/src/controls.cpp @@ -156,7 +156,6 @@ void ctrlGetInput(void) return; } - updatePauseStatus(); if (paused != prevPauseState) { gInput.keyFlags.pause = 1;