From 856239541393df6d6a1443b15d7c4c8b213fbc5e Mon Sep 17 00:00:00 2001 From: Rubidium Date: Mon, 12 Apr 2021 20:52:00 +0200 Subject: Fix: [Video] fast forward boolean states not initialised, potentially causing unstoppable fast forward --- src/video/video_driver.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/video_driver.hpp b/src/video/video_driver.hpp index f143b61a8..4964e01cb 100644 --- a/src/video/video_driver.hpp +++ b/src/video/video_driver.hpp @@ -36,7 +36,7 @@ class VideoDriver : public Driver { const uint DEFAULT_WINDOW_HEIGHT = 480u; ///< Default window height. public: - VideoDriver() : is_game_threaded(true), change_blitter(nullptr) {} + VideoDriver() : fast_forward_key_pressed(false), fast_forward_via_key(false), is_game_threaded(true), change_blitter(nullptr) {} /** * Mark a particular area dirty. -- cgit v1.2.3-54-g00ecf