From 104f9e127b259731836c2b88d74a8d731f3ad535 Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Thu, 7 Sep 2017 10:25:34 +0200 Subject: Changed some int parameters to vector parameters (#3937) --- src/Entities/Entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Entities/Entity.h') 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); -- cgit v1.2.3