mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-24 10:11:33 +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())
|
||||
return true; // do whatever you want
|
||||
|
||||
if (!(multiplayer || netgame)) // In single player.
|
||||
return true;
|
||||
|
||||
// You already are that skin.
|
||||
if (stricmp(skins[players[consoleplayer].skin]->name, valstr) == 0)
|
||||
return false;
|
||||
|
||||
if (!(multiplayer || netgame)) // In single player.
|
||||
return true;
|
||||
|
||||
if (CanChangeSkin(consoleplayer) && !P_PlayerMoving(consoleplayer))
|
||||
return true;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue