Skip to content

Commit

Permalink
Player: Don't clear already cleared values
Browse files Browse the repository at this point in the history
  • Loading branch information
bsxf-47 committed Jan 28, 2017
1 parent 55a76f5 commit 77e86e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/game/Player.cpp
Expand Up @@ -2370,8 +2370,6 @@ void PlayerMovementIterate(float DeltaTime) {
if(!test && !LAST_FIRM_GROUND && !TRUE_FIRM_GROUND) {
player.physics.velocity.x = 0.f;
player.physics.velocity.z = 0.f;
player.physics.forces.x = 0.f;
player.physics.forces.z = 0.f;
if(FALLING_TIME > 0 && player.falling) {
float fh = player.pos.y - Falling_Height;
if(fh > 400.f) {
Expand Down

0 comments on commit 77e86e2

Please sign in to comment.