diff options
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h index 0b2cbbfb2..1d9882775 100644 --- a/src/player.h +++ b/src/player.h @@ -104,12 +104,12 @@ public: std::vector<CollisionInfo> *collision_info) {} - v3f getSpeed() + const v3f &getSpeed() const { return m_speed; } - void setSpeed(v3f speed) + void setSpeed(const v3f &speed) { m_speed = speed; } |