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 78ca14948..b91c3cb1b 100644 --- a/src/player.h +++ b/src/player.h @@ -62,7 +62,7 @@ public: return m_position; } - virtual void setPosition(v3f position) + virtual void setPosition(const v3f &position) { m_position = position; } @@ -206,7 +206,7 @@ public: return m_box; } - void setPosition(v3f position) + void setPosition(const v3f &position) { m_oldpos = m_showpos; |