diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-15 20:19:58 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-15 20:19:58 +0100 |
commit | 5e75408b3becd5de0ef88223c789fa6f95ff6619 (patch) | |
tree | 358ace572c2bda87dbdf5a36a673477fe2ddefb4 /src/Entities/Player.cpp | |
parent | This adds a function that allows you to 'shoot' a player towards a direction. (diff) | |
download | cuberite-5e75408b3becd5de0ef88223c789fa6f95ff6619.tar cuberite-5e75408b3becd5de0ef88223c789fa6f95ff6619.tar.gz cuberite-5e75408b3becd5de0ef88223c789fa6f95ff6619.tar.bz2 cuberite-5e75408b3becd5de0ef88223c789fa6f95ff6619.tar.lz cuberite-5e75408b3becd5de0ef88223c789fa6f95ff6619.tar.xz cuberite-5e75408b3becd5de0ef88223c789fa6f95ff6619.tar.zst cuberite-5e75408b3becd5de0ef88223c789fa6f95ff6619.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index ab7075121..38b911fd2 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1069,7 +1069,7 @@ Vector3d cPlayer::GetThrowSpeed(double a_SpeedCoeff) const -void cPlayer::ShootTo(Vector3d a_Direction) +void cPlayer::ForceSetSpeed(Vector3d a_Direction) { SetSpeed(a_Direction); m_ClientHandle->SendEntityVelocity(*this); |