- Separated the skin scale values into separate X and Y values so that skins

automatically generated for different player classes can use both the
  scaling values that can be set for the actor.


SVN r947 (trunk)
This commit is contained in:
Randy Heit 2008-04-27 22:33:19 +00:00
commit 1f8e471eba
7 changed files with 27 additions and 13 deletions

View file

@ -731,7 +731,8 @@ void D_ReadUserInfoStrings (int i, BYTE **stream, bool update)
GetDefaultByType (players[i].cls)->SpawnState->sprite.index)
{ // Only change the sprite if the player is using a standard one
players[i].mo->sprite = skins[info->skin].sprite;
players[i].mo->scaleX = players[i].mo->scaleY = skins[info->skin].Scale;
players[i].mo->scaleX = skins[info->skin].ScaleX;
players[i].mo->scaleY = skins[info->skin].ScaleY;
}
}
// Rebuild translation in case the new skin uses a different range