mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-24 18:21:34 +00:00
Move these two lines up
This commit is contained in:
parent
c9318599c7
commit
17a1136960
1 changed files with 3 additions and 3 deletions
|
@ -4913,13 +4913,13 @@ static boolean Skin_CanChange(const char *valstr)
|
||||||
if (!Playing())
|
if (!Playing())
|
||||||
return true; // do whatever you want
|
return true; // do whatever you want
|
||||||
|
|
||||||
if (!(multiplayer || netgame)) // In single player.
|
|
||||||
return true;
|
|
||||||
|
|
||||||
// You already are that skin.
|
// You already are that skin.
|
||||||
if (stricmp(skins[players[consoleplayer].skin]->name, valstr) == 0)
|
if (stricmp(skins[players[consoleplayer].skin]->name, valstr) == 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (!(multiplayer || netgame)) // In single player.
|
||||||
|
return true;
|
||||||
|
|
||||||
if (CanChangeSkin(consoleplayer) && !P_PlayerMoving(consoleplayer))
|
if (CanChangeSkin(consoleplayer) && !P_PlayerMoving(consoleplayer))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue