X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fweak_block.hpp;h=01e2464be66496068588c11253641cbeff826fe1;hb=555d1b7bebb45326d82d934e07463209837309b0;hp=e36d1eb66675ccd48e27bc19c58a7805afbc2448;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/object/weak_block.hpp b/src/object/weak_block.hpp index e36d1eb66..01e2464be 100644 --- a/src/object/weak_block.hpp +++ b/src/object/weak_block.hpp @@ -29,7 +29,7 @@ /** * A block that can be destroyed by Bullet hits */ -class WeakBlock : public MovingSprite +class WeakBlock : public MovingSprite, public UsesPhysic { public: WeakBlock(const lisp::Lisp& lisp); @@ -55,8 +55,6 @@ private: STATE_DISINTEGRATING /**< crumbling to dust, no longer solid */ }; State state; - - Physic physic; }; #endif