From 079993d5fa2a795a74bd1a0b84cc49b263d7e5cd Mon Sep 17 00:00:00 2001 From: Maurice Heumann Date: Mon, 13 Feb 2023 19:42:35 +0100 Subject: [PATCH] Add missing parameter to CL_ConnectFromLobby --- src/client/component/party.cpp | 2 +- src/client/game/symbols.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/component/party.cpp b/src/client/component/party.cpp index 84300691..4cf119d7 100644 --- a/src/client/component/party.cpp +++ b/src/client/component/party.cpp @@ -59,7 +59,7 @@ namespace party void connect_to_lobby(const game::netadr_t& addr, const std::string& mapname, const std::string& gamemode) { game::XSESSION_INFO info{}; - game::CL_ConnectFromLobby(0, &info, &addr, 1, 0, mapname.data(), gamemode.data()); + game::CL_ConnectFromLobby(0, &info, &addr, 1, 0, mapname.data(), gamemode.data(), nullptr); stop_zombies_intro_if_needed(); } diff --git a/src/client/game/symbols.hpp b/src/client/game/symbols.hpp index 2ee50eff..5a1d369e 100644 --- a/src/client/game/symbols.hpp +++ b/src/client/game/symbols.hpp @@ -10,7 +10,7 @@ namespace game // CL WEAK symbol CL_ConnectFromLobby + int numPrivateSlots, const char* mapname, const char* gametype, const char* somethingWithUserMaps)> CL_ConnectFromLobby {0x14134C570}; // Game