No more changing skins when you're in singleplayer and manage to enter a hole in the gamestate defenses!

This commit is contained in:
toasterbabe 2016-10-29 18:12:41 +01:00
parent 158db5d380
commit 31d569a15b

View file

@ -4062,8 +4062,7 @@ static void Skin_OnChange(void)
if (!Playing())
return; // do whatever you want
if (!(cv_debug || devparm) && !(multiplayer || netgame) // In single player.
&& (gamestate == GS_LEVEL || gamestate == GS_INTERMISSION || gamestate == GS_CONTINUING))
if (!(cv_debug || devparm) && !(multiplayer || netgame)) // In single player.
{
CV_StealthSet(&cv_skin, skins[players[consoleplayer].skin].name);
return;