From 2021baf47dd8dfbba4e98a9f3ecb32000f9cc4d1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 7 Feb 2017 00:24:04 +0100 Subject: [PATCH] - fixed: The 'transparent' line flag did not work due to a leftover OPAQUE constant where floats were expected. --- src/p_udmf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_udmf.cpp b/src/p_udmf.cpp index e6ab47c24..515905b27 100644 --- a/src/p_udmf.cpp +++ b/src/p_udmf.cpp @@ -1097,7 +1097,7 @@ public: { ld->alpha = 0.75; } - if (strifetrans2 && ld->alpha == OPAQUE) + if (strifetrans2 && ld->alpha == 1.) { ld->alpha = 0.25; }