X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fcoin.hpp;h=16d04c94e72648e235cd10393e27f20370b196f6;hb=5745d9670262c91e6cd35363fd0d2ec169e7c8a4;hp=c59586541d83f256bd938b10dfe853c0873e53e7;hpb=7eedaa580901ec970795fe66d6e7fa56349fb0a0;p=supertux.git diff --git a/src/object/coin.hpp b/src/object/coin.hpp index c59586541..16d04c94e 100644 --- a/src/object/coin.hpp +++ b/src/object/coin.hpp @@ -28,7 +28,6 @@ class Coin : public MovingSprite public: Coin(const Vector& pos); Coin(const lisp::Lisp& reader); - virtual Coin* clone() const { return new Coin(*this); } HitResponse collision(GameObject& other, const CollisionHit& hit); @@ -36,4 +35,3 @@ public: }; #endif -