diff options
author | Lukas Pioch <lukas@zgow.de> | 2017-09-07 10:33:46 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2017-09-07 10:33:46 +0200 |
commit | ed7adef1ca277c0eaef3be840be6b9ee456c04b8 (patch) | |
tree | a207cddc5a097c86fc9aa1e1a6c762b8c5096c18 /src/ClientHandle.h | |
parent | Changed some int parameters to vector parameters (#3937) (diff) | |
download | cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.gz cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.bz2 cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.lz cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.xz cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.tar.zst cuberite-ed7adef1ca277c0eaef3be840be6b9ee456c04b8.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 4a4898179..b1acede77 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -242,7 +242,7 @@ public: // tolua_export /** Returns the view distance that the player request, not the used view distance. */ int GetRequestedViewDistance(void) const { return m_RequestedViewDistance; } - void SetLocale(AString & a_Locale) { m_Locale = a_Locale; } + void SetLocale(const AString & a_Locale) { m_Locale = a_Locale; } AString GetLocale(void) const { return m_Locale; } int GetUniqueID(void) const { return m_UniqueID; } |