Skip to content
Snippets Groups Projects
Commit 17a11369 authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Move these two lines up

parent c9318599
Branches
No related tags found
No related merge requests found
...@@ -4913,13 +4913,13 @@ static boolean Skin_CanChange(const char *valstr) ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment