[Super-tux-commit] supertux/src player.cpp,1.174,1.175
Brought to you by:
wkendrick
From: Marek M. <wa...@us...> - 2004-09-18 16:58:25
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32160/src Modified Files: player.cpp Log Message: Tux can now flap after bouncing off an enemy Index: player.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v retrieving revision 1.174 retrieving revision 1.175 diff -u -d -r1.174 -r1.175 --- player.cpp 18 Sep 2004 16:39:41 -0000 1.174 +++ player.cpp 18 Sep 2004 16:58:16 -0000 1.175 @@ -1153,6 +1153,10 @@ void Player::bounce(BadGuy* badguy) { + //Make sure we stopped flapping + flapping = false; + falling_from_flap = false; + if (input.up) physic.set_velocity_y(5.2); else |