diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/control/character_controller.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/character_controller.rs b/src/control/character_controller.rs index 0714749..b7d0503 100644 --- a/src/control/character_controller.rs +++ b/src/control/character_controller.rs @@ -628,7 +628,7 @@ impl KinematicCharacterController { false, filter, ) - .map(|hit| hit.1.toi + offset) + .map(|hit| hit.1.toi) .unwrap_or(max_height); // Remove the step height from the vertical part of the self. |
