Bullet fire counting with its height.
authorRicardo Cruz <rick2@aeiou.pt>
Wed, 19 May 2004 10:28:38 +0000 (10:28 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Wed, 19 May 2004 10:28:38 +0000 (10:28 +0000)
SVN-Revision: 1268

src/special.cpp

index fa9c4ff..26c30c7 100644 (file)
@@ -62,7 +62,7 @@ Bullet::init(float x, float y, float xm, Direction dir, int kind_)
       base.xm = -BULLET_XM + xm;
     }
 
-  base.y = y;
+  base.y = y + base.height/2;
   base.ym = BULLET_STARTING_YM;
   old_base = base;
   kind = kind_;