X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fplayer.cpp;h=5b965a29064661f1e190226d71db09e7fb1d3851;hb=04a3157ef478169b5a3fc05dae00ed6ee6a1fae2;hp=b332caee9cc440ac279553a43ec5c54ddf9c7df0;hpb=9ba388a672ff024010e38b09e576edf8730bb454;p=supertux.git diff --git a/src/object/player.cpp b/src/object/player.cpp index b332caee9..5b965a290 100644 --- a/src/object/player.cpp +++ b/src/object/player.cpp @@ -51,7 +51,7 @@ #include "object/sprite_particle.hpp" #include "trigger/climbable.hpp" -//#define DO_SWIMMING +//#define SWIMMING static const int TILES_FOR_BUTTJUMP = 3; static const float SHOOTING_TIME = .150f; @@ -541,9 +541,6 @@ Player::do_backflip() { if (!on_ground()) return; - // TODO: we don't have an animation for firetux backflipping, so let's revert to bigtux - set_bonus(GROWUP_BONUS, true); - backflip_direction = (dir == LEFT)?(+1):(-1); backflipping = true; do_jump(-580);