- reinstated code that has gotten lost.

Fixes texture trimming.
This commit is contained in:
Christoph Oelckers 2022-04-28 21:14:50 +02:00
parent 86c968c8a3
commit 739b015a4d
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ void FGameTexture::SetupSpriteData()
if (i == 1 && ShouldExpandSprite())
{
spi.mTrimResult = Base->TrimBorders(spi.trim); // get the trim size before adding the empty frame
spi.mTrimResult = Base->TrimBorders(spi.trim) && !GetNoTrimming(); // get the trim size before adding the empty frame
spi.spriteWidth += 2;
spi.spriteHeight += 2;
}