Replace 0xFF with 255 for consistency
This commit is contained in:
parent
eba1762fd0
commit
414d56adc3
@ -344,7 +344,7 @@ 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 > 0xFF)
|
if (client->reliableAcknowledge < 0 || client->reliableAcknowledge > 255)
|
||||||
{
|
{
|
||||||
client->reliableAcknowledge = 0;
|
client->reliableAcknowledge = 0;
|
||||||
Game::NET_OutOfBandPrint(Game::NS_SERVER, client->netchan.remoteAddress, "disconnect");
|
Game::NET_OutOfBandPrint(Game::NS_SERVER, client->netchan.remoteAddress, "disconnect");
|
||||||
|
Loading…
Reference in New Issue
Block a user