From: Wolfgang Becker Date: Thu, 6 Jul 2006 01:15:14 +0000 (+0000) Subject: no more flying mr bomb X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=aee6d74bd20ef19ac70bebd59ff2ced83312b5ea;p=supertux.git no more flying mr bomb SVN-Revision: 3912 --- diff --git a/src/badguy/mrbomb.cpp b/src/badguy/mrbomb.cpp index 6c7c6f9d6..9cb02f58d 100644 --- a/src/badguy/mrbomb.cpp +++ b/src/badguy/mrbomb.cpp @@ -38,7 +38,6 @@ MrBomb::MrBomb(const lisp::Lisp& reader) } //Replace sprite sprite = sprite_manager->create( sprite_name ); - bbox.set_size(sprite->get_current_hitbox_width(), sprite->get_current_hitbox_height()); } /* MrBomb created by a despencer always gets default sprite atm.*/ @@ -63,6 +62,7 @@ MrBomb::activate() { physic.set_velocity_x(dir == LEFT ? -WALKSPEED : WALKSPEED); sprite->set_action(dir == LEFT ? "left" : "right"); + bbox.set_size(sprite->get_current_hitbox_width(), sprite->get_current_hitbox_height()); } void