diff options
Diffstat (limited to 'src/video/allegro_v.cpp')
-rw-r--r-- | src/video/allegro_v.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/video/allegro_v.cpp b/src/video/allegro_v.cpp index 208de06c4..a01a9a5e7 100644 --- a/src/video/allegro_v.cpp +++ b/src/video/allegro_v.cpp @@ -19,7 +19,6 @@ #include "../gfx_func.h" #include "../rev.h" #include "../blitter/factory.hpp" -#include "../network/network.h" #include "../core/random_func.hpp" #include "../core/math_func.hpp" #include "../framerate_type.h" @@ -457,17 +456,12 @@ void VideoDriver_Allegro::InputLoop() _shift_pressed = !!(key_shifts & KB_SHIFT_FLAG); #if defined(_DEBUG) - if (_shift_pressed) + this->fast_forward_key_pressed = _shift_pressed; #else /* Speedup when pressing tab, except when using ALT+TAB * to switch to another application. */ - if (key[KEY_TAB] && (key_shifts & KB_ALT_FLAG) == 0) + this->fast_forward_key_pressed = key[KEY_TAB] && (key_shifts & KB_ALT_FLAG) == 0; #endif - { - if (!_networking && _game_mode != GM_MENU) _fast_forward |= 2; - } else if (_fast_forward & 2) { - _fast_forward = 0; - } /* Determine which directional keys are down. */ _dirkeys = |