mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-16 17:11:33 +00:00
Fix warning
This commit is contained in:
parent
d02c4c0cc7
commit
a927d67259
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)
|
||||
{
|
||||
SINT8 playernum;
|
||||
|
||||
if (COM_Argc() == 1)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
const SINT8 playernum = nametonum(COM_Argv(1));
|
||||
playernum = nametonum(COM_Argv(1));
|
||||
if (playernum == -1 || playernum == 0)
|
||||
return;
|
||||
|
||||
|
|
Loading…
Reference in a new issue