Skip to content

Commit

Permalink
Fix z momentum clearing to fix jumping.
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillyWillyGuru committed Aug 21, 2016
1 parent a63f57f commit 61cc954
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/p_mobj.cc
Expand Up @@ -1284,11 +1284,10 @@ static void P_ZMovement(mobj_t * mo, const region_properties_t *props)
else
splash = false;
}

else

mo->mom.z = 0;
//else
//mo->mom.z = 0;
}
mo->mom.z = 0;

mo->z = mo->floorz;

Expand Down

0 comments on commit 61cc954

Please sign in to comment.