X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fbadguy%2Figel.hpp;h=4d2b82f793c128d655ad40a065ed26372aeb7414;hb=2d1bc69993923150eb701d3cacb917ab4e23d5ef;hp=0c83cef38202203a96b3826500c1698e0d4694a3;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/badguy/igel.hpp b/src/badguy/igel.hpp index 0c83cef38..4d2b82f79 100644 --- a/src/badguy/igel.hpp +++ b/src/badguy/igel.hpp @@ -40,7 +40,7 @@ public: virtual Igel* clone() const { return new Igel(*this); } protected: - bool collision_squished(Player& player); + bool collision_squished(GameObject& object); void be_normal(); /**< switch to state STATE_NORMAL */ void turn_around(); /**< reverse direction, assumes we are in STATE_NORMAL */ bool can_see(const MovingObject& o); /**< check if we can see o */