diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-05 18:41:10 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-05 18:41:10 +0200 |
commit | faa32610e381db1d58ee2b57d3a6efc2e664fdec (patch) | |
tree | 8c6b2a6e8c4eaa08f815afa1a6faa4231e297e6c /src/client/localplayer.cpp | |
parent | ee88f4b94f180faa2b44ff016381a0fe69426d88 (diff) | |
download | dragonfireclient-faa32610e381db1d58ee2b57d3a6efc2e664fdec.tar.xz |
Added ESP, fixed Tracers, improved Jesus
Diffstat (limited to 'src/client/localplayer.cpp')
-rw-r--r-- | src/client/localplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/localplayer.cpp b/src/client/localplayer.cpp index 9c1e896af..00195cd02 100644 --- a/src/client/localplayer.cpp +++ b/src/client/localplayer.cpp @@ -301,7 +301,7 @@ void LocalPlayer::move(f32 dtime, Environment *env, f32 pos_max_d, collisionMoveResult result = collisionMoveSimple(env, m_client, pos_max_d, m_collisionbox, player_stepheight, dtime, - &position, &m_speed, accel_f); + &position, &m_speed, accel_f, NULL, true, true); bool could_sneak = control.sneak && !free_move && !in_liquid && !is_climbing && physics_override_sneak; @@ -923,7 +923,7 @@ void LocalPlayer::old_move(f32 dtime, Environment *env, f32 pos_max_d, collisionMoveResult result = collisionMoveSimple(env, m_client, pos_max_d, m_collisionbox, player_stepheight, dtime, - &position, &m_speed, accel_f); + &position, &m_speed, accel_f, NULL, true, true); // Positition was slightly changed; update standing node pos if (touching_ground) @@ -1175,7 +1175,7 @@ void LocalPlayer::handleAutojump(f32 dtime, Environment *env, // try at peak of jump, zero step height collisionMoveResult jump_result = collisionMoveSimple(env, m_client, pos_max_d, - m_collisionbox, 0.0f, dtime, &jump_pos, &jump_speed, v3f(0.0f)); + m_collisionbox, 0.0f, dtime, &jump_pos, &jump_speed, v3f(0.0f), NULL, true, true); // see if we can get a little bit farther horizontally if we had // jumped |