JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
started ship in the middle vertically (instead of the top of the ship in the middle)
authorJason Woofenden <jason@jasonwoof.com>
Mon, 26 Jun 2006 19:34:14 +0000 (19:34 +0000)
committerJason Woofenden <jason@jasonwoof.com>
Mon, 26 Jun 2006 19:34:14 +0000 (19:34 +0000)
main.c

diff --git a/main.c b/main.c
index ba1c8b7..0001c99 100644 (file)
--- a/main.c
+++ b/main.c
@@ -763,7 +763,7 @@ gameloop() {
                                        reset_rocks();
                                        screendx = SCREENDXMIN; screendy = 0;
 
                                        reset_rocks();
                                        screendx = SCREENDXMIN; screendy = 0;
 
-                                       ship.x = XSIZE/2.2; ship.y = YSIZE/2;
+                                       ship.x = XSIZE/2.2; ship.y = YSIZE/2 - ship.w/2;
                                        ship.dx = screendx; ship.dy = screendy;
                                        ship.lives = 4;
                                        ship.flags = MOVE|DRAW|COLLIDE;
                                        ship.dx = screendx; ship.dy = screendy;
                                        ship.lives = 4;
                                        ship.flags = MOVE|DRAW|COLLIDE;