aboutsummaryrefslogtreecommitdiff
path: root/src/client/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/localplayer.h')
-rw-r--r--src/client/localplayer.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/client/localplayer.h b/src/client/localplayer.h
index 83ad3d1d3..a2fe1766d 100644
--- a/src/client/localplayer.h
+++ b/src/client/localplayer.h
@@ -148,7 +148,7 @@ public:
inline void addVelocity(const v3f &vel)
{
- added_velocity += vel;
+ m_added_velocity += vel;
}
inline Lighting& getLighting() { return m_lighting; }
@@ -198,8 +198,7 @@ private:
bool m_autojump = false;
float m_autojump_time = 0.0f;
- v3f added_velocity = v3f(0.0f); // cleared on each move()
- // TODO: Rename to adhere to convention: added_velocity --> m_added_velocity
+ v3f m_added_velocity = v3f(0.0f); // in BS-space; cleared on each move()
GenericCAO *m_cao = nullptr;
Client *m_client;