Add missing parameter to CL_ConnectFromLobby

This commit is contained in:
Maurice Heumann 2023-02-13 19:42:35 +01:00
parent 65248326c1
commit 079993d5fa
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ namespace party
void connect_to_lobby(const game::netadr_t& addr, const std::string& mapname, const std::string& gamemode) void connect_to_lobby(const game::netadr_t& addr, const std::string& mapname, const std::string& gamemode)
{ {
game::XSESSION_INFO info{}; 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(); stop_zombies_intro_if_needed();
} }

View File

@ -10,7 +10,7 @@ namespace game
// CL // CL
WEAK symbol<void(int controllerIndex, XSESSION_INFO* hostInfo, const netadr_t* addr, int numPublicSlots, WEAK symbol<void(int controllerIndex, XSESSION_INFO* hostInfo, const netadr_t* addr, int numPublicSlots,
int numPrivateSlots, const char* mapname, const char* gametype)> CL_ConnectFromLobby int numPrivateSlots, const char* mapname, const char* gametype, const char* somethingWithUserMaps)> CL_ConnectFromLobby
{0x14134C570}; {0x14134C570};
// Game // Game