Always allow skin switching in friendly gametypes
This commit is contained in:
parent
f313a0386f
commit
b622f539ff
|
@ -1158,7 +1158,7 @@ UINT8 CanChangeSkin(INT32 playernum)
|
||||||
// Server has skin change restrictions.
|
// Server has skin change restrictions.
|
||||||
if (cv_restrictskinchange.value)
|
if (cv_restrictskinchange.value)
|
||||||
{
|
{
|
||||||
if (gametype == GT_COOP)
|
if (gametyperules & GTR_FRIENDLY)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
// Can change skin during initial countdown.
|
// Can change skin during initial countdown.
|
||||||
|
@ -3753,11 +3753,11 @@ static void ExitMove_OnChange(void)
|
||||||
{
|
{
|
||||||
if (players[i].mo->target && players[i].mo->target->type == MT_SIGN)
|
if (players[i].mo->target && players[i].mo->target->type == MT_SIGN)
|
||||||
P_SetTarget(&players[i].mo->target, NULL);
|
P_SetTarget(&players[i].mo->target, NULL);
|
||||||
|
|
||||||
if (players[i].pflags & PF_FINISHED)
|
if (players[i].pflags & PF_FINISHED)
|
||||||
P_GiveFinishFlags(&players[i]);
|
P_GiveFinishFlags(&players[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
CONS_Printf(M_GetText("Players can now move after completing the level.\n"));
|
CONS_Printf(M_GetText("Players can now move after completing the level.\n"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue