- Made AActor's xscale and yscale properties full precision fixed point

so now larger scales than 4 can be done.


SVN r381 (trunk)
This commit is contained in:
Christoph Oelckers 2006-11-14 16:54:02 +00:00
commit 1502215009
24 changed files with 71 additions and 63 deletions

View file

@ -663,7 +663,7 @@ 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->xscale = players[i].mo->yscale = skins[info->skin].scale;
players[i].mo->scaleX = players[i].mo->scaleY = skins[info->skin].Scale;
}
}
// Rebuild translation in case the new skin uses a different range