mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
Fix: [Video] fast forward boolean states not initialised, potentially causing unstoppable fast forward
This commit is contained in:
parent
64e8305874
commit
8562395413
@ -36,7 +36,7 @@ class VideoDriver : public Driver {
|
|||||||
const uint DEFAULT_WINDOW_HEIGHT = 480u; ///< Default window height.
|
const uint DEFAULT_WINDOW_HEIGHT = 480u; ///< Default window height.
|
||||||
|
|
||||||
public:
|
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.
|
* Mark a particular area dirty.
|
||||||
|
Loading…
Reference in New Issue
Block a user