1
0

Renamed ShootTo function to ForceSetSpeed.

This commit is contained in:
STRWarrior 2013-12-15 20:19:58 +01:00
parent 0efd74f114
commit 5e75408b3b
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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