From 9d40b53efc5eb314fb602638e6392f05974f3852 Mon Sep 17 00:00:00 2001 From: Peter Schaefer Date: Fri, 24 Jun 2016 01:44:08 +0200 Subject: [PATCH] jumpFix --- Weave/Scene/Marvin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Weave/Scene/Marvin.cpp b/Weave/Scene/Marvin.cpp index c3cd6f8..69c70c5 100644 --- a/Weave/Scene/Marvin.cpp +++ b/Weave/Scene/Marvin.cpp @@ -41,7 +41,7 @@ void Marvin::update(float deltaT) { //Jump if (Events::getJump() && abs(yFloorDist)<.5) - ySpeed += 5.5; + ySpeed = 5.5; int move_x = Events::getMoveX(); int move_y = Events::getMoveY(); -- 2.47.3