Update of /cvsroot/super-tux/supertux/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28717
Modified Files:
player.cpp
Log Message:
- commited MatzeBs duck fix
Index: player.cpp
===================================================================
RCS file: /cvsroot/super-tux/supertux/src/player.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- player.cpp 13 Apr 2004 12:25:22 -0000 1.35
+++ player.cpp 13 Apr 2004 18:17:26 -0000 1.36
@@ -169,7 +169,6 @@
/* Move tux: */
previous_base = base;
- duck = false;
physic.apply(frame_ratio, base.x, base.y);
if(dying == DYING_NOT) {
@@ -292,23 +291,6 @@
player_status.next_level = 1;
}
- /* Duck! */
- if (input.down == DOWN && size == BIG && !duck)
- {
- duck = true;
- base.height = 32;
- base.y += 32;
- // changing base size confuses collision otherwise
- old_base = previous_base = base;
- }
- else if(input.down == UP && size == BIG && duck)
- {
- duck = false;
- base.y -= 32;
- base.height = 64;
- old_base = previous_base = base;
- }
-
// check some timers
skidding_timer.check();
invincible_timer.check();
|