summaryrefslogtreecommitdiff
path: root/src/remoteplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteplayer.h')
-rw-r--r--src/remoteplayer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remoteplayer.h b/src/remoteplayer.h
index 6ecdb2798..ed0f21b42 100644
--- a/src/remoteplayer.h
+++ b/src/remoteplayer.h
@@ -71,7 +71,7 @@ public:
void setHotbarImage(const std::string &name) { hud_hotbar_image = name; }
- std::string getHotbarImage() const { return hud_hotbar_image; }
+ const std::string &getHotbarImage() const { return hud_hotbar_image; }
void setHotbarSelectedImage(const std::string &name)
{