diff options
author | Bond-009 <bond.009@outlook.com> | 2017-09-07 10:25:34 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-09-07 10:25:34 +0200 |
commit | 104f9e127b259731836c2b88d74a8d731f3ad535 (patch) | |
tree | 0aa333690caf9480f38e2ec1a88265b84544aeb5 /src/Entities/Entity.h | |
parent | Add cWorld::RemoveEntity and use in cEntity (#4003) (diff) | |
download | cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.gz cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.bz2 cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.lz cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.xz cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.tar.zst cuberite-104f9e127b259731836c2b88d74a8d731f3ad535.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Entities/Entity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Entities/Entity.h b/src/Entities/Entity.h index f39039183..7b934fb23 100644 --- a/src/Entities/Entity.h +++ b/src/Entities/Entity.h @@ -232,7 +232,7 @@ public: void SetSpeed(double a_SpeedX, double a_SpeedY, double a_SpeedZ); /** Sets the speed of the entity, measured in m / sec */ - void SetSpeed(const Vector3d & a_Speed) { SetSpeed(a_Speed.x, a_Speed.y, a_Speed.z); } + void SetSpeed(Vector3d a_Speed) { SetSpeed(a_Speed.x, a_Speed.y, a_Speed.z); } /** Sets the speed in the X axis, leaving the other speed components intact. Measured in m / sec. */ void SetSpeedX(double a_SpeedX); |