JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Removed control of ship during dead pause; the new ship
authorJoshua Grams <josh@qualdan.com>
Fri, 24 Mar 2006 20:22:42 +0000 (20:22 +0000)
committerJoshua Grams <josh@qualdan.com>
Fri, 24 Mar 2006 20:22:42 +0000 (20:22 +0000)
velocity change upon dying makes it unnecessary.

main.c

diff --git a/main.c b/main.c
index 5fb2fbf..63c8c4a 100644 (file)
--- a/main.c
+++ b/main.c
@@ -675,7 +675,7 @@ gameloop() {
                        ship.jets = 0;
                }
 
-               if(state == GAMEPLAY || state == DEAD_PAUSE) {
+               if(state == GAMEPLAY) {
                        if(!paused) {
                                if(keystate[SDLK_LEFT]  | keystate[SDLK_h]) { ship.dx -= 1.5*t_frame; ship.jets |= 1<<0;}
                                if(keystate[SDLK_DOWN]  | keystate[SDLK_t]) { ship.dy += 1.5*t_frame; ship.jets |= 1<<1;}