diff options
Diffstat (limited to 'src/client/localplayer.h')
-rw-r--r-- | src/client/localplayer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/localplayer.h b/src/client/localplayer.h index 7148bc4de..28404aa01 100644 --- a/src/client/localplayer.h +++ b/src/client/localplayer.h @@ -149,8 +149,8 @@ public: bool getAutojump() const { return m_autojump; } private: - void accelerateHorizontal(const v3f &target_speed, const f32 max_increase); - void accelerateVertical(const v3f &target_speed, const f32 max_increase); + void accelerate(const v3f &target_speed, const f32 max_increase_H, + const f32 max_increase_V, const bool use_pitch); bool updateSneakNode(Map *map, const v3f &position, const v3f &sneak_max); float getSlipFactor(Environment *env, const v3f &speedH); void handleAutojump(f32 dtime, Environment *env, |