Move these two lines up

This commit is contained in:
Lactozilla 2024-11-30 10:33:41 -03:00
parent c9318599c7
commit 17a1136960

View file

@ -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