mirror of https://github.com/OpenTTD/OpenTTD.git
Fix: [Video] fast forward boolean states not initialised, potentially causing unstoppable fast forward
This commit is contained in:
parent
dee9d6dfd4
commit
fa57e33dfe
|
@ -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