X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsprite%2Fsprite_data.hpp;h=78f51a91ecd136d6febe62e7815aff0e60d46bdd;hb=HEAD;hp=d5e3a86eeaf710d126d7d666c1bf46cd829528b4;hpb=8099ed94a2642c410ebcd1315a28d14fa6524d49;p=supertux.git diff --git a/src/sprite/sprite_data.hpp b/src/sprite/sprite_data.hpp index d5e3a86ee..78f51a91e 100644 --- a/src/sprite/sprite_data.hpp +++ b/src/sprite/sprite_data.hpp @@ -68,7 +68,7 @@ private: void parse_action(const Reader& lispreader, const std::string& basedir); /** Get an action */ - Action* get_action(std::string act); + const Action* get_action(const std::string& act); Actions actions; std::string name;