- fixed typo in actor scale assignment when spawning.

This commit is contained in:
Christoph Oelckers 2016-04-08 16:52:42 +02:00
parent 39d03f12b1
commit 919f99db61

View file

@ -5010,7 +5010,7 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
if (mthing->Scale.X != 0) if (mthing->Scale.X != 0)
mobj->Scale.X = mthing->Scale.X * mobj->Scale.X; mobj->Scale.X = mthing->Scale.X * mobj->Scale.X;
if (mthing->Scale.Y != 0) if (mthing->Scale.Y != 0)
mobj->Scale.X = mthing->Scale.Y * mobj->Scale.Y; mobj->Scale.Y = mthing->Scale.Y * mobj->Scale.Y;
if (mthing->pitch) if (mthing->pitch)
mobj->Angles.Pitch = (double)mthing->pitch; mobj->Angles.Pitch = (double)mthing->pitch;
if (mthing->roll) if (mthing->roll)