Fix broken if statement in ParseFireTexture

This commit is contained in:
Ricardo Luís Vaz Silva 2024-10-01 11:59:05 -03:00 committed by GitHub
parent 70ec8ce711
commit 9f7a8188c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -832,8 +832,10 @@ void FTextureAnimator::ParseFireTexture(FScanner& sc)
sc.MustGetValue(false);
a = sc.Number;
palette.Push(PalEntry(a, r, g, b));
if (a != 255 && a != 0);
if (a != 255 && a != 0)
{
gametex->SetTranslucent(true);
}
if (palette.Size() > 256)
{