small fixes
This commit is contained in:
parent
0460c175cb
commit
b9aafa37d4
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue