[Super-tux-commit] supertux/src player.cpp,1.104,1.105
Brought to you by:
wkendrick
From: Ricardo C. <rm...@us...> - 2004-05-18 17:20:36
|
Update of /cvsroot/super-tux/supertux/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21961/src Modified Files: player.cpp Log Message: Tiny fix. Just to make fire or ice Tux to be able to do butt jump, as well. Index: player.cpp =================================================================== RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v retrieving revision 1.104 retrieving revision 1.105 diff -u -d -r1.104 -r1.105 --- player.cpp 18 May 2004 17:12:54 -0000 1.104 +++ player.cpp 18 May 2004 17:20:27 -0000 1.105 @@ -417,7 +417,7 @@ physic.set_velocity_y(0); } - if (input.down == DOWN && !on_ground() && !duck && size == BIG) + if (input.down == DOWN && !on_ground() && !duck && size != SMALL) butt_jump = true; else if (input.down == UP) butt_jump = false; |