Changeset - r25174:cd6e798283ea
[Not reviewed]
master
0 1 0
Rubidium - 3 years ago 2021-04-12 18:52:00
rubidium@openttd.org
Fix: [Video] fast forward boolean states not initialised, potentially causing unstoppable fast forward
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/video/video_driver.hpp
Show inline comments
 
@@ -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.
0 comments (0 inline, 0 general)