- made the Skins array scripting friendly and exported it.
This commit is contained in:
parent
6a2525b737
commit
498da825a5
17 changed files with 136 additions and 118 deletions
|
|
@ -1695,7 +1695,7 @@ static void G_QueueBody (AActor *body)
|
|||
{
|
||||
// Apply skin's scale to actor's scale, it will be lost otherwise
|
||||
const AActor *const defaultActor = body->GetDefault();
|
||||
const FPlayerSkin &skin = skins[skinidx];
|
||||
const FPlayerSkin &skin = Skins[skinidx];
|
||||
|
||||
body->Scale.X *= skin.Scale.X / defaultActor->Scale.X;
|
||||
body->Scale.Y *= skin.Scale.Y / defaultActor->Scale.Y;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue