From: Peter Schaefer Date: Thu, 23 Jun 2016 23:44:08 +0000 (+0200) Subject: jumpFix X-Git-Url: https://git.leopard-lacewing.eu/?a=commitdiff_plain;h=9d40b53efc5eb314fb602638e6392f05974f3852;p=cgue_weave.git jumpFix --- 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();