small fixes

This commit is contained in:
Stefan `Sec` Zehl 2011-08-12 21:11:41 +02:00
parent 0460c175cb
commit b9aafa37d4
1 changed files with 2 additions and 4 deletions

View File

@ -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();
}
}
}