diff --git a/src/component/gsc.cpp b/src/component/gsc.cpp index 1430229..d01147d 100644 --- a/src/component/gsc.cpp +++ b/src/component/gsc.cpp @@ -384,7 +384,7 @@ namespace gsc { for (auto i = 0; i < *game::svs_clientCount; i++) { - if (game::svs_clients[i].header.state !=game::CS_FREE + if (game::svs_clients[i].header.state != game::CS_FREE && game::svs_clients[i].header.netchan.remoteAddress.type == game::NA_BOT) { game::SV_GameDropClient(i, "GAME_GET_TO_COVER"); diff --git a/src/game/structs.hpp b/src/game/structs.hpp index fa7d28d..ec63303 100644 --- a/src/game/structs.hpp +++ b/src/game/structs.hpp @@ -363,10 +363,10 @@ namespace game struct netchan_t { int outgoingSequence; - netsrc_t sock; // 28 - int dropped; // 32 - int incomingSequence; // 36 - netadr_s remoteAddress; // 40 + netsrc_t sock; + int dropped; + int incomingSequence; + netadr_s remoteAddress; int qport; int fragmentSequence; int fragmentLength;