X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fgameobjs.h;h=197273f0aac01cfc0584111fe3fa2b0406a79f5e;hb=e4db6eb50cd6bcba607858b5e6c4c5d53531ed1f;hp=88a8d7aab2ee73bef6ab20f1f798cf9ac54927d7;hpb=99ffd1de8f666bffa646064a587238803acec131;p=supertux.git diff --git a/src/gameobjs.h b/src/gameobjs.h index 88a8d7aab..197273f0a 100644 --- a/src/gameobjs.h +++ b/src/gameobjs.h @@ -94,7 +94,7 @@ private: class FloatingText : public GameObject { public: - FloatingText(const Vector& pos, std::string& text_); + FloatingText(const Vector& pos, const std::string& text_); FloatingText(const Vector& pos, int s); // use this for score, for instance virtual void action(float elapsed_time);