- 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

@ -785,8 +785,8 @@ void ACustomSprite::BeginPlay ()
{
Super::BeginPlay ();
picnum = args[0] + args[1]*256;
xscale = args[2] - 1;
yscale = args[3] - 1;
scaleX = args[2] * (FRACUNIT/64);
scaleY = args[3] * (FRACUNIT/64);
if (args[4] & 2)
{