From d6654637bc74db8628384bc488629a7e8ac1353b Mon Sep 17 00:00:00 2001 From: Benau Date: Wed, 4 Dec 2019 08:51:33 +0800 Subject: [PATCH] Fix typo --- src/network/protocols/server_lobby.cpp | 6 +++--- src/network/protocols/server_lobby.hpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/network/protocols/server_lobby.cpp b/src/network/protocols/server_lobby.cpp index bfd51e06e..16ce93d70 100644 --- a/src/network/protocols/server_lobby.cpp +++ b/src/network/protocols/server_lobby.cpp @@ -4081,10 +4081,10 @@ void ServerLobby::submitRankingsToAddons() return; // ======================================================================== - class SumbitRankingRequest : public Online::XMLRequest + class SubmitRankingRequest : public Online::XMLRequest { public: - SumbitRankingRequest(uint32_t online_id, double scores, + SubmitRankingRequest(uint32_t online_id, double scores, double max_scores, unsigned num_races, const std::string& country_code) : XMLRequest() @@ -4112,7 +4112,7 @@ void ServerLobby::submitRankingsToAddons() for (unsigned i = 0; i < race_manager->getNumPlayers(); i++) { const uint32_t id = race_manager->getKartInfo(i).getOnlineId(); - auto request = std::make_shared + auto request = std::make_shared (id, m_scores.at(id), m_max_scores.at(id), m_num_ranked_races.at(id), race_manager->getKartInfo(i).getCountryCode()); diff --git a/src/network/protocols/server_lobby.hpp b/src/network/protocols/server_lobby.hpp index a74b77f13..ab524397e 100644 --- a/src/network/protocols/server_lobby.hpp +++ b/src/network/protocols/server_lobby.hpp @@ -133,10 +133,10 @@ private: /** Addon karts and tracks available in server. */ std::pair, std::set > m_addon_kts; - /** Addon arenas available in server. */ + /** Addon arenas available in server. */ std::set m_addon_arenas; - /** Addon soccers available in server. */ + /** Addon soccers available in server. */ std::set m_addon_soccers; /** Available karts and tracks for all clients, this will be initialized