Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2205/src
Modified Files:
player.cpp
Log Message:
Just a small fix to prevent Tux from butt-jumping when ducked.
Index: player.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- player.cpp 4 Jun 2004 14:03:06 -0000 1.136
+++ player.cpp 7 Jun 2004 15:13:52 -0000 1.137
@@ -496,7 +496,7 @@
/* In case the player has pressed Down while in a certain range of air,
enable butt jump action */
- if (input.down == DOWN && !butt_jump)
+ if (input.down == DOWN && !butt_jump && !duck)
if(tiles_on_air(TILES_FOR_BUTTJUMP) && jumping)
butt_jump = true;
|