Fix: [Video] fast forward boolean states not initialised, potentially causing unstoppable fast forward

This commit is contained in:
Rubidium 2021-04-12 20:52:00 +02:00 committed by Patric Stout
parent 64e8305874
commit 8562395413

View File

@ -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.