From 27eeb3581f5ee7183f326807c36afbe272b0d985 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Wed, 27 Sep 2017 23:48:06 +0200 Subject: Fix some forgotten u16 -> session_t in ad7daf7b52348e1b71aa803be10de5b2134cba11 --- src/clientiface.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/clientiface.cpp') diff --git a/src/clientiface.cpp b/src/clientiface.cpp index d20f784aa..852211037 100644 --- a/src/clientiface.cpp +++ b/src/clientiface.cpp @@ -606,9 +606,9 @@ ClientInterface::~ClientInterface() } } -std::vector ClientInterface::getClientIDs(ClientState min_state) +std::vector ClientInterface::getClientIDs(ClientState min_state) { - std::vector reply; + std::vector reply; MutexAutoLock clientslock(m_clients_mutex); for (const auto &m_client : m_clients) { @@ -642,14 +642,14 @@ void ClientInterface::step(float dtime) void ClientInterface::UpdatePlayerList() { if (m_env) { - std::vector clients = getClientIDs(); + std::vector clients = getClientIDs(); m_clients_names.clear(); - if(!clients.empty()) + if (!clients.empty()) infostream<<"Players:"<getPlayer(i); if (player == NULL) -- cgit v1.2.3