Updated game structs, variable symbols and references.

This commit is contained in:
Caball
2024-12-31 00:01:31 +01:00
parent 2516a48fc1
commit 3553cd49ff
11 changed files with 468 additions and 58 deletions
+1 -1
View File
@@ -191,7 +191,7 @@ namespace patches
{
command::params_sv params{};
const auto menu_id = atoi(params.get(1));
const auto client = &game::mp::svs_clients[ent->s.clientNum];
const auto client = &game::mp::svs->clients[ent->s.clientNum];
// 9 => "end_game"
if (menu_id == 9 && client->header.netchan.remoteAddress.type != game::NA_LOOPBACK)