update statistics again if coins are collected
[supertux.git] / src / object / player.cpp
index 11a6ae2..fcbe658 100644 (file)
@@ -661,7 +661,9 @@ Player::handle_input()
   /* Shoot! */
   if (input.fire == DOWN && input.old_fire == UP && got_power != NONE_POWER) {
     if(Sector::current()->add_bullet(
-          get_pos() + Vector(0, bbox.get_height()/2),
+//           get_pos() + Vector(0, bbox.get_height()/2),
+          get_pos() + ((dir == LEFT)? Vector(0, bbox.get_height()/2) 
+          : Vector(32, bbox.get_height()/2)),
           physic.get_velocity_x(), dir))
       shooting_timer.start(SHOOTING_TIME);
     input.old_fire = DOWN;