summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-09-22 07:40:41 +0000
committerdominik <dominik@openttd.org>2004-09-22 07:40:41 +0000
commitf7fee73752a2f8ac6028f5078b6f0ae89bca6cac (patch)
tree283158320673cc6095c2c25e1af13d8bf2ace4a0 /sdl.c
parentcd01b3890ae0f0f48f830fd557c6cbaf4ce1eefb (diff)
downloadopenttd-f7fee73752a2f8ac6028f5078b6f0ae89bca6cac.tar.xz
(svn r308) Added debug hotkey 'caps lock' for sdl builds as well
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdl.c b/sdl.c
index a25725cbb..e8bfb8d59 100644
--- a/sdl.c
+++ b/sdl.c
@@ -562,6 +562,7 @@ static int SdlVideoMainLoop()
_ctrl_pressed = !!(mod & (KMOD_LCTRL | KMOD_RCTRL));
_shift_pressed = !!(mod & (KMOD_LSHIFT | KMOD_RSHIFT));
+ _dbg_screen_rect = !!(mod & KMOD_CAPS);
// determine which directional keys are down
_dirkeys =