Add missing parameter to CL_ConnectFromLobby
This commit is contained in:
parent
65248326c1
commit
079993d5fa
@ -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();
|
||||
}
|
||||
|
@ -10,7 +10,7 @@ namespace game
|
||||
|
||||
// CL
|
||||
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};
|
||||
|
||||
// Game
|
||||
|
Loading…
Reference in New Issue
Block a user