mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Bail CanChangeSkinWhilePlaying if forceskin
This commit is contained in:
parent
20b56544ac
commit
638efe18c9
1 changed files with 4 additions and 0 deletions
|
|
@ -1302,6 +1302,10 @@ boolean CanChangeSkinWhilePlaying(INT32 playernum)
|
|||
{
|
||||
INT32 i;
|
||||
|
||||
// Force skin in effect.
|
||||
if ((cv_forceskin.value != -1))
|
||||
return false;
|
||||
|
||||
for (i = 0; i < MAXPLAYERS; ++i)
|
||||
{
|
||||
if (D_IsPlayerHumanAndGaming(i) &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue