Jump height is constant for the double jump.

This commit is contained in:
William Moberg
2016-02-09 16:09:08 +01:00
parent 93c6f3c0a3
commit 232bf66a09
+1 -1
View File
@@ -95,7 +95,7 @@ void PlayerMovementSystem::Update(double dt)
} else {
controller->SetDoubleJumping(true);
}
velocity.y += 4.f;
velocity.y = 4.f;
}
if (player.HasComponent("AABB")) {