Fixed bullet position.
authorRicardo Cruz <rick2@aeiou.pt>
Fri, 4 Jun 2004 14:14:59 +0000 (14:14 +0000)
committerRicardo Cruz <rick2@aeiou.pt>
Fri, 4 Jun 2004 14:14:59 +0000 (14:14 +0000)
SVN-Revision: 1414

src/special.cpp

index 1ff38f0..bcbd2a8 100644 (file)
@@ -63,7 +63,7 @@ Bullet::Bullet(const Vector& pos, float xm, int dir, int kind_)
       physic.set_velocity_x(-BULLET_XM + xm);
     }
 
-  base.y = pos.y + base.height/2;
+  base.y = pos.y;
   physic.set_velocity_y(-BULLET_STARTING_YM);
   old_base = base;
   kind = kind_;