Modernize client code (#6250)
[oweals/minetest.git] / src / localplayer.h
index 3d293ecf44963c9a298459afe9ae4cd2daf11fa6..ffaa83f33667e1f7a8785e755f53a39e027cf3e4 100644 (file)
@@ -144,8 +144,7 @@ public:
        void setCollisionbox(const aabb3f &box) { m_collisionbox = box; }
 
 private:
-       void accelerateHorizontal(const v3f &target_speed,
-               const f32 max_increase, bool slippery);
+       void accelerateHorizontal(const v3f &target_speed, f32 max_increase, bool slippery);
        void accelerateVertical(const v3f &target_speed, const f32 max_increase);
        bool updateSneakNode(Map *map, const v3f &position, const v3f &sneak_max);