aboutsummaryrefslogtreecommitdiff
path: root/src/camera.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/camera.h')
-rw-r--r--src/camera.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/camera.h b/src/camera.h
index b5be26718..f57efdf10 100644
--- a/src/camera.h
+++ b/src/camera.h
@@ -172,8 +172,7 @@ public:
void removeNametag(Nametag *nametag);
- std::list<Nametag *> *getNametags()
- { return &m_nametags; }
+ const std::list<Nametag *> &getNametags() { return m_nametags; }
void drawNametags();