Fixed a Segmentation Fault when mr_iceblock was kicked into a brick containing coins...
[supertux.git] / src / object / weak_block.hpp
index 133b713..ad25602 100644 (file)
@@ -33,6 +33,7 @@ public:
 
   HitResponse collision(GameObject& other, const CollisionHit& hit);
   void update(float elapsed_time);
+  void draw(DrawingContext& context);
        
 protected:
   /**
@@ -56,6 +57,9 @@ private:
   bool linked;
   virtual HitResponse collision_bullet(Bullet& bullet, const CollisionHit& hit);
 
+  Color light;
+  SpritePtr lightsprite;
+
 };
 
 #endif