<Rob> The host should not be able to switch their skin if skin switching is locked

<Rob> That is completely unfair
This commit is contained in:
toasterbabe 2017-03-19 17:18:41 +00:00
parent 3a6f659b93
commit 9fd09c07f3
1 changed files with 1 additions and 1 deletions

View File

@ -1011,7 +1011,7 @@ UINT8 CanChangeSkin(INT32 playernum)
return true;
// Force skin in effect.
if (client && ((cv_forceskin.value != -1) || (mapheaderinfo[gamemap-1] && mapheaderinfo[gamemap-1]->forcecharacter[0] != '\0')) && !(adminplayer == playernum && serverplayer == -1))
if ((cv_forceskin.value != -1) || (mapheaderinfo[gamemap-1] && mapheaderinfo[gamemap-1]->forcecharacter[0] != '\0'))
return false;
// Can change skin in intermission and whatnot.