mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Replace some instances of int with fixed width types
This commit is contained in:
parent
29ebf7ee60
commit
8a28d3cfe5
2 changed files with 3 additions and 5 deletions
|
|
@ -84,7 +84,7 @@ static boolean serverrunning = false;
|
||||||
INT32 serverplayer = 0;
|
INT32 serverplayer = 0;
|
||||||
char motd[254], server_context[8]; // Message of the Day, Unique Context (even without Mumble support)
|
char motd[254], server_context[8]; // Message of the Day, Unique Context (even without Mumble support)
|
||||||
|
|
||||||
int playerconsole[MAXPLAYERS];
|
UINT8 playerconsole[MAXPLAYERS];
|
||||||
|
|
||||||
// Server specific vars
|
// Server specific vars
|
||||||
UINT8 playernode[MAXPLAYERS];
|
UINT8 playernode[MAXPLAYERS];
|
||||||
|
|
@ -3491,7 +3491,7 @@ static inline void SV_AddNode(INT32 node)
|
||||||
static void Got_AddPlayer(UINT8 **p, INT32 playernum)
|
static void Got_AddPlayer(UINT8 **p, INT32 playernum)
|
||||||
{
|
{
|
||||||
INT16 node, newplayernum;
|
INT16 node, newplayernum;
|
||||||
int console;
|
UINT8 console;
|
||||||
UINT8 splitscreenplayer = 0;
|
UINT8 splitscreenplayer = 0;
|
||||||
UINT8 i;
|
UINT8 i;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2006,12 +2006,10 @@ static void Got_PowerLevel(UINT8 **cp,INT32 playernum)
|
||||||
|
|
||||||
static void Got_PartyInvite(UINT8 **cp,INT32 playernum)
|
static void Got_PartyInvite(UINT8 **cp,INT32 playernum)
|
||||||
{
|
{
|
||||||
int invitee;
|
UINT8 invitee;
|
||||||
|
|
||||||
boolean kick = false;
|
boolean kick = false;
|
||||||
|
|
||||||
invitee = READUINT8 (*cp);
|
|
||||||
|
|
||||||
if (
|
if (
|
||||||
invitee >= 0 &&
|
invitee >= 0 &&
|
||||||
invitee < MAXPLAYERS &&
|
invitee < MAXPLAYERS &&
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue