projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- added quick&dirty peeking back (not exactly perfect, but better then no peeking)
[supertux.git]
/
src
/
object
/
player.cpp
diff --git
a/src/object/player.cpp
b/src/object/player.cpp
index
b332cae
..
5b965a2
100644
(file)
--- a/
src/object/player.cpp
+++ b/
src/object/player.cpp
@@
-51,7
+51,7
@@
#include "object/sprite_particle.hpp"
#include "trigger/climbable.hpp"
#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;
static const int TILES_FOR_BUTTJUMP = 3;
static const float SHOOTING_TIME = .150f;
@@
-541,9
+541,6
@@
Player::do_backflip() {
if (!on_ground())
return;
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);
backflip_direction = (dir == LEFT)?(+1):(-1);
backflipping = true;
do_jump(-580);