mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 14:12:47 +00:00
Fix warning
This commit is contained in:
parent
5eae1ca914
commit
6e5b139ee6
1 changed files with 3 additions and 1 deletions
|
|
@ -3003,6 +3003,8 @@ static void Got_KickCmd(UINT8 **p, INT32 playernum)
|
||||||
|
|
||||||
static void Command_ResendGamestate(void)
|
static void Command_ResendGamestate(void)
|
||||||
{
|
{
|
||||||
|
SINT8 playernum;
|
||||||
|
|
||||||
if (COM_Argc() == 1)
|
if (COM_Argc() == 1)
|
||||||
{
|
{
|
||||||
CONS_Printf(M_GetText("resendgamestate <playername/playernum>: resend the game state to a player\n"));
|
CONS_Printf(M_GetText("resendgamestate <playername/playernum>: resend the game state to a player\n"));
|
||||||
|
|
@ -3014,7 +3016,7 @@ static void Command_ResendGamestate(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const SINT8 playernum = nametonum(COM_Argv(1));
|
playernum = nametonum(COM_Argv(1));
|
||||||
if (playernum == -1 || playernum == 0)
|
if (playernum == -1 || playernum == 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue