Fix warnings

This commit is contained in:
Stefan `Sec` Zehl 2011-08-12 21:21:11 +02:00
parent b9aafa37d4
commit 13d2192496
1 changed files with 1 additions and 5 deletions

View File

@ -151,7 +151,6 @@ void ram(void){
static bool screen_intro(void) {
char key=0;
bool step = false;
while(key==0) {
getInputWaitRelease();
lcdFill(0);
@ -177,7 +176,6 @@ static bool screen_intro(void) {
static void draw_splash(void){
char key=0;
bool step = false;
while(key==0) {
lcdFill(0);
if (highscore_set(game.score, GLOBAL(nickname))){
@ -190,7 +188,7 @@ static void draw_splash(void){
lcdDisplay();
key=getInputWaitTimeout(1000);
}
return !(key==BTN_LEFT);
return;
}
static bool highscore_set(uint32_t score, char nick[]) {
@ -374,8 +372,6 @@ static void draw_score(void){
static void detect_collitions(void){
for(int i = 0;i<MAX_ASTEROIDS;i++){
if(game.asteroids_t[i] > 0){
int as_x = game.asteroids_x[i];
int as_y = game.asteroids_y[i];
int as_h = 0;
int as_w = 0;
if(game.asteroids_t[i] == 1){