aboutsummaryrefslogtreecommitdiff
path: root/src/clientenvironment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientenvironment.h')
-rw-r--r--src/clientenvironment.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientenvironment.h b/src/clientenvironment.h
index 35dca5718..d384bf78c 100644
--- a/src/clientenvironment.h
+++ b/src/clientenvironment.h
@@ -139,7 +139,7 @@ public:
const std::list<std::string> &getPlayerNames() { return m_player_names; }
void addPlayerName(const std::string &name) { m_player_names.push_back(name); }
void removePlayerName(const std::string &name) { m_player_names.remove(name); }
- void updateCameraOffset(v3s16 camera_offset)
+ void updateCameraOffset(const v3s16 &camera_offset)
{ m_camera_offset = camera_offset; }
v3s16 getCameraOffset() const { return m_camera_offset; }
private: