From 17a1136960e6941e96e44db6953e444695a0ff78 Mon Sep 17 00:00:00 2001 From: Lactozilla Date: Sat, 30 Nov 2024 10:33:41 -0300 Subject: [PATCH] Move these two lines up --- src/netcode/d_netcmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/netcode/d_netcmd.c b/src/netcode/d_netcmd.c index 961de44c2..630999cd0 100644 --- a/src/netcode/d_netcmd.c +++ b/src/netcode/d_netcmd.c @@ -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