- Fixed: If a player has the NOSKIN flag set, do not change their appearance to that of the

skin when spawning or changing the skin.

SVN r3560 (trunk)
This commit is contained in:
Randy Heit 2012-04-14 03:07:28 +00:00
commit c0bc7532ac
2 changed files with 7 additions and 3 deletions

View file

@ -765,6 +765,7 @@ void D_ReadUserInfoStrings (int i, BYTE **stream, bool update)
if (players[i].mo != NULL)
{
if (players[i].cls != NULL &&
!(players[i].mo->flags4 & MF4_NOSKIN) &&
players[i].mo->state->sprite ==
GetDefaultByType (players[i].cls)->SpawnState->sprite)
{ // Only change the sprite if the player is using a standard one