Replace 0xFF with 255 for consistency

This commit is contained in:
Diavolo 2021-09-12 15:19:04 +02:00
parent eba1762fd0
commit 414d56adc3

View File

@ -344,7 +344,7 @@ namespace Components
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;
Game::NET_OutOfBandPrint(Game::NS_SERVER, client->netchan.remoteAddress, "disconnect");