X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fbadguy%2Figel.hpp;h=4d2b82f793c128d655ad40a065ed26372aeb7414;hb=2d1bc69993923150eb701d3cacb917ab4e23d5ef;hp=6da2df1ffbd819905d75d69a47ba4a4917d9704d;hpb=e7042da286e68756298cc205910b35c1da551167;p=supertux.git diff --git a/src/badguy/igel.hpp b/src/badguy/igel.hpp index 6da2df1ff..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 */ @@ -51,4 +51,3 @@ private: }; #endif -