mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-26 04:31:22 +00:00
Fix broken if statement in ParseFireTexture
This commit is contained in:
parent
70ec8ce711
commit
9f7a8188c5
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue