commit
3d1e354c14
@ -352,7 +352,7 @@ namespace Components
|
||||
info.set("shortversion", SHORTVERSION);
|
||||
info.set("checksum", std::to_string(Game::Sys_Milliseconds()));
|
||||
info.set("mapname", Dvar::Var("mapname").get<std::string>());
|
||||
info.set("isPrivate", password.empty() ? "1" : "0");
|
||||
info.set("isPrivate", password.empty() ? "0" : "1");
|
||||
info.set("hc", (Dvar::Var("g_hardcore").get<bool>() ? "1" : "0"));
|
||||
info.set("securityLevel", std::to_string(securityLevel));
|
||||
info.set("sv_running", (Dedicated::IsRunning() ? "1" : "0"));
|
||||
|
@ -40,8 +40,8 @@ namespace Components
|
||||
Game::msg_t msg{};
|
||||
const auto clientNum = client - Game::svs_clients;
|
||||
|
||||
const Game::Engine::LargeLocal msg_buf_large_local(0x10000);
|
||||
auto* msg_buf = static_cast<unsigned char*>(msg_buf_large_local.GetBuf());
|
||||
const auto msg_buf_large = std::make_unique<unsigned char[]>(0x10000);
|
||||
auto* msg_buf = msg_buf_large.get();
|
||||
|
||||
assert(VoicePacketCount[clientNum] >= 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user