fix overflow stuffs
This commit is contained in:
1 parent
527e436d57
commit
5838e60bf6
2 files changed
+574
-571
No files matched your search
+573
-570
File diff suppressed because it is too large.
Load diff
+1
-1
@@ -1618,7 +1618,7 @@ static void SV_SendPlayerInfo(INT32 node)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!playeringame[i])
|
||||
if (playeringame[i] == UINT8_MAX || !playeringame[i])
|
||||
{
|
||||
netbuffer->u.playerinfo[i].node = 255; // This slot is empty.
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user