Remove 'greater than 0xFF' check, game already checks
This commit is contained in:
parent
07f15acab0
commit
6d50778ee5
@ -344,9 +344,9 @@ namespace Components
|
|||||||
|
|
||||||
void Network::SV_ExecuteClientMessageStub(Game::client_t* client, Game::msg_t* msg)
|
void Network::SV_ExecuteClientMessageStub(Game::client_t* client, Game::msg_t* msg)
|
||||||
{
|
{
|
||||||
if (client->reliableAcknowledge < 0 || client->reliableAcknowledge > 255)
|
if (client->reliableAcknowledge < 0)
|
||||||
{
|
{
|
||||||
client->reliableAcknowledge = 0;
|
client->reliableAcknowledge = client->reliableSequence;
|
||||||
Network::SendCommand(Game::NS_SERVER, client->netchan.remoteAddress, "error", "EXE_LOSTRELIABLECOMMANDS");
|
Network::SendCommand(Game::NS_SERVER, client->netchan.remoteAddress, "error", "EXE_LOSTRELIABLECOMMANDS");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user