From 6b7680f67b8362da98fbc11fcfc017ac1898ad22 Mon Sep 17 00:00:00 2001 From: girst Date: Mon, 3 Sep 2018 19:09:32 +0200 Subject: [PATCH] increase freeze steps, remove debug/test code --- viiper.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/viiper.c b/viiper.c index 4490fa6..f90fa17 100644 --- a/viiper.c +++ b/viiper.c @@ -53,7 +53,7 @@ #define BONUS_INTERVAL 90 /* how often a bonus item is spawned */ #define BONUS_DURATION 15 /* how long one can catch the bonus */ #define BONUS_WARN 5 /* how long before the removal to warn */ -#define BONUS_STOP_NUM 5 /* how many steps the time freezes */ +#define BONUS_STOP_NUM 10 /* how many steps the time freezes */ struct game { int w; /* field width */ @@ -190,9 +190,6 @@ int viiper(void) { case 'p': pause_game(); break; case 'r': siglongjmp(game_over, GAME_START); case 'q': siglongjmp(game_over, GAME_EXIT); -case '\n': - spawn_item(BONUS, BONUS_STOP, NULL); - break; case CTRL_'L': screen_setup(1); show_playfield(); -- 2.39.3