diff options
author | jfhumann <j.f.humann@gmail.com> | 2014-04-19 20:51:52 +0200 |
---|---|---|
committer | jfhumann <j.f.humann@gmail.com> | 2014-04-19 20:51:52 +0200 |
commit | f48d43f050683488b4cdbddcc92cfc7804112c11 (patch) | |
tree | 1fb33ed7227f1099851338937a5c658368774f01 /src/Entities/Player.cpp | |
parent | Declared one mutex as mutable in order to allow for const correct get accessors. (diff) | |
download | cuberite-f48d43f050683488b4cdbddcc92cfc7804112c11.tar cuberite-f48d43f050683488b4cdbddcc92cfc7804112c11.tar.gz cuberite-f48d43f050683488b4cdbddcc92cfc7804112c11.tar.bz2 cuberite-f48d43f050683488b4cdbddcc92cfc7804112c11.tar.lz cuberite-f48d43f050683488b4cdbddcc92cfc7804112c11.tar.xz cuberite-f48d43f050683488b4cdbddcc92cfc7804112c11.tar.zst cuberite-f48d43f050683488b4cdbddcc92cfc7804112c11.zip |
Diffstat (limited to 'src/Entities/Player.cpp')
-rw-r--r-- | src/Entities/Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index 46edb7199..fedb62527 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1166,9 +1166,9 @@ Vector3d cPlayer::GetThrowSpeed(double a_SpeedCoeff) const -void cPlayer::ForceSetSpeed(const Vector3d & a_Direction) +void cPlayer::ForceSetSpeed(const Vector3d & a_Speed) { - SetSpeed(a_Direction); + SetSpeed(a_Speed); m_ClientHandle->SendEntityVelocity(*this); } |