From: Tobias Gläßer Date: Sat, 27 Dec 2003 00:13:33 +0000 (+0000) Subject: cheats are only possible in debug-mode now. sorry cheaters :) X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=9e44b472f6cb5b99467f1417081f194e68c4f7ce;p=supertux.git cheats are only possible in debug-mode now. sorry cheaters :) SVN-Revision: 49 --- 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; }