From 02d4bd62ddab2abcca2f2b18331265468a67c6ce Mon Sep 17 00:00:00 2001 From: Ryan Flegel Date: Fri, 28 May 2004 20:33:37 +0000 Subject: [PATCH] - fixed 'When you jump into the roof or a bonus and fall back down you collide with badguys twice' SVN-Revision: 1354 --- TODO | 2 -- src/player.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TODO b/TODO index c9fe07e22..4fd7cb62f 100644 --- a/TODO +++ b/TODO @@ -34,8 +34,6 @@ L: low priority ? Should disable Tux's movement temporarily (1 second?) [H] Tux should fall while walking in tiles that have a space between. - Possible solution: reduce Tux's width -[H] When you jump into the roof or a bonus and fall back down you collide with - the badguys twice. Noticable with iceblocks. (level 15) [M] Save score on per-level basis to make high-score [M] Save time on per-level basis to make low-time-score diff --git a/src/player.cpp b/src/player.cpp index 2dad2903e..e041dd50f 100644 --- a/src/player.cpp +++ b/src/player.cpp @@ -239,6 +239,7 @@ Player::action(float elapsed_time) // fall down physic.set_velocity_y(0); jumped_in_solid = true; + jumping = false; } } else -- 2.11.0