summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client.h b/src/client.h
index 72baac2d2..6d24c0b1d 100644
--- a/src/client.h
+++ b/src/client.h
@@ -452,7 +452,10 @@ public:
core::line3d<f32> shootline_on_map
);
- std::list<std::string> getConnectedPlayerNames();
+ const std::list<std::string> &getConnectedPlayerNames()
+ {
+ return m_env.getPlayerNames();
+ }
float getAnimationTime();