summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-15 20:19:58 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-15 20:19:58 +0100
commit5e75408b3becd5de0ef88223c789fa6f95ff6619 (patch)
tree358ace572c2bda87dbdf5a36a673477fe2ddefb4 /src/Entities/Player.h
parentThis adds a function that allows you to 'shoot' a player towards a direction. (diff)
downloadcuberite-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index 8dc6968ff..a09f7f489 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -167,8 +167,8 @@ public:
// Sets the current gamemode, doesn't check validity, doesn't send update packets to client
void LoginSetGameMode(eGameMode a_GameMode);
- /// "Shoots" the player in the given direction.
- void ShootTo(Vector3d a_Direction); // tolua_export
+ /// Forces the player to move in the given direction.
+ void ForceSetSpeed(Vector3d a_Direction); // tolua_export
/// Tries to move to a new position, with attachment-related checks (y == -999)
void MoveTo(const Vector3d & a_NewPos); // tolua_export