From 9e44b472f6cb5b99467f1417081f194e68c4f7ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tobias=20Gl=C3=A4=C3=9Fer?= Date: Sat, 27 Dec 2003 00:13:33 +0000 Subject: [PATCH] cheats are only possible in debug-mode now. sorry cheaters :) SVN-Revision: 49 --- src/gameloop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gameloop.c b/src/gameloop.c index 15df2cdd4..898ab7b0d 100644 --- a/src/gameloop.c +++ b/src/gameloop.c @@ -251,15 +251,15 @@ void game_event(void) game_pause = 1; } } - else if (key == SDLK_TAB) + else if (key == SDLK_TAB && debug_mode == YES) { tux_size = !tux_size; } - else if (key == SDLK_END) + else if (key == SDLK_END && debug_mode == YES) { distros += 50; } - else if (key == SDLK_SPACE) + else if (key == SDLK_SPACE && debug_mode == YES) { next_level = 1; } -- 2.11.0