Calculate foremost layer correctly (previous implementation didn't work at all)
[supertux.git] / src / object / infoblock.hpp
index 91ae5ba..8648566 100644 (file)
@@ -33,6 +33,7 @@ public:
 
 protected:
   virtual void hit(Player& player);
+  virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
   Player* get_nearest_player();
 
 protected: