X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=main.c;h=de9534733e5d3623f79c475bc438b2193f4b6675;hp=68c77a4a8566ab702be17fb4d583c9ea0e2bfd6e;hb=0b36c07b7161b0f4d5f1ffe7dceb16b759395672;hpb=ed4ff736c245071157dc5412edb0218b8cc3e442 diff --git a/main.c b/main.c index 68c77a4..de95347 100644 --- a/main.c +++ b/main.c @@ -1005,8 +1005,6 @@ int gameloop() { state = GAMEPLAY; play_tune(1); xship -= 50; - // xvel = 3; - // yvel = 0; break; case GAME_OVER: state = HIGH_SCORE_ENTRY; @@ -1054,6 +1052,7 @@ int gameloop() { } else { if(state == DEAD_PAUSE) { float blast_radius = START_RAD * state_timeout / 50.0; + if(xship < 60) xship = 60; for(i = 0; i YSIZE) rock[i].active = 0; + if(rock[i].dead && (rock[i].y < 0 || rock[i].y > YSIZE)) rock[i].active = 0; if(rock[i].y > YSIZE) { rock[i].y -= YSIZE; rock[i].y -= rock[i].image->w;