From 9f7a8188c573ae415c017db9b564c152fa6442e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Tue, 1 Oct 2024 11:59:05 -0300 Subject: [PATCH] Fix broken if statement in ParseFireTexture --- src/gamedata/textures/animations.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gamedata/textures/animations.cpp b/src/gamedata/textures/animations.cpp index 7b7a1049b..b0dce0a55 100644 --- a/src/gamedata/textures/animations.cpp +++ b/src/gamedata/textures/animations.cpp @@ -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) {