From 6dcd03e10b6539e3863f7cdb5ac38f4415b91e0c Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Tue, 18 May 2004 23:15:31 +0000 Subject: [PATCH] Ryan was right, Tux was firing from the head :D SVN-Revision: 1263 --- src/player.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/player.cpp b/src/player.cpp index 2b6cfd6bf..a01480ecd 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -461,7 +461,8 @@ Player::handle_input() /* Shoot! */ if (input.fire == DOWN && input.old_fire == UP && got_power != NONE_POWER) { - World::current()->add_bullet(base.x, base.y, physic.get_velocity_x(), dir); + holding_something = true; + World::current()->add_bullet(base.x, base.y + (base.height/2), physic.get_velocity_x(), dir); input.old_fire = DOWN; } -- 2.11.0