X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fplayer.h;h=ada9e96aa46ddb0a1955ae480a83eb8f49ed7072;hb=875ef8eb7e93726bc67dfa7f05da946250e588d4;hp=bc47b133ba31f7e5b8c2ef6d7b4e8494bbfa1882;hpb=1d4f04476ae2c9e1530e48bb8881955d4a9d7238;p=supertux.git diff --git a/src/player.h b/src/player.h index bc47b133b..ada9e96aa 100644 --- a/src/player.h +++ b/src/player.h @@ -111,7 +111,7 @@ public: delete feet; } - void set_action(std::string action); + void set_action(std::string action, int loops = -1); void one_time_animation(); void draw(DrawingContext& context, const Vector& pos, int layer, Uint32 drawing_effect = NONE_EFFECT);