video/sdl_v.c
branchcustombridgeheads
changeset 5642 bfa6074e2833
parent 5568 75f13d7bfaed
--- a/video/sdl_v.c	Tue Jan 02 18:40:37 2007 +0000
+++ b/video/sdl_v.c	Wed Jan 03 08:32:17 2007 +0000
@@ -11,7 +11,7 @@
 #include "../macros.h"
 #include "../sdl.h"
 #include "../window.h"
-#include "../network.h"
+#include "../network/network.h"
 #include "../variables.h"
 #include "sdl_v.h"
 #include <SDL.h>
@@ -440,7 +440,9 @@
 #if defined(_DEBUG)
 		if (_shift_pressed)
 #else
-		if (keys[SDLK_TAB])
+		/* Speedup when pressing tab, except when using ALT+TAB
+		 * to switch to another application */
+		if (keys[SDLK_TAB] && (mod & KMOD_ALT) == 0)
 #endif
 		{
 			if (!_networking && _game_mode != GM_MENU) _fast_forward |= 2;