cheats are only possible in debug-mode now. sorry cheaters :)
authorTobias Gläßer <tobi.web@gmx.de>
Sat, 27 Dec 2003 00:13:33 +0000 (00:13 +0000)
committerTobias Gläßer <tobi.web@gmx.de>
Sat, 27 Dec 2003 00:13:33 +0000 (00:13 +0000)
SVN-Revision: 49

src/gameloop.c

index 15df2cd..898ab7b 100644 (file)
@@ -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;
             }