From 32bbcd2699cdbc533f9bb95c7679182b4eef2767 Mon Sep 17 00:00:00 2001 From: Wolfgang Becker Date: Wed, 12 Jul 2006 15:59:55 +0000 Subject: [PATCH] Skully jumps again. SVN-Revision: 3990 --- src/badguy/skullyhop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/badguy/skullyhop.cpp b/src/badguy/skullyhop.cpp index d9b954e8e..302ac9aea 100644 --- a/src/badguy/skullyhop.cpp +++ b/src/badguy/skullyhop.cpp @@ -95,7 +95,7 @@ SkullyHop::collision_solid(const CollisionHit& hit) return; // check if we hit the floor while falling - if(hit.bottom) { + if(hit.bottom && physic.get_velocity_y() > 0 ) { set_state(STANDING); } // check if we hit the roof while climbing -- 2.11.0