From b9aafa37d437bafdc10eaf4dc8a5add888dd8316 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Fri, 12 Aug 2011 21:11:41 +0200 Subject: [PATCH] small fixes --- firmware/l0dable/r0type.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/firmware/l0dable/r0type.c b/firmware/l0dable/r0type.c index 52216e6..c2cbf42 100644 --- a/firmware/l0dable/r0type.c +++ b/firmware/l0dable/r0type.c @@ -140,7 +140,7 @@ void ram(void){ conrtols(); draw_game(); lcdDisplay(); - delayms(6); + delayms_queue_plus(12,0); if(game.shot_delay > 0){ game.shot_delay--; } @@ -217,8 +217,6 @@ static uint32_t highscore_get(char nick[]){ static void init_game(void) { - randomInit(); - game.ticks = 0; game.ships = 3; game.score = 0; @@ -488,4 +486,4 @@ static void conrtols(void){ } else if (gpioGetValue(RB_BTN4)==0) { shoot(); } -} \ No newline at end of file +}