From 3428b50924134cfac6cf5b72b92bc97ad5503331 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Fri, 15 Nov 2019 03:46:21 +0100 Subject: [PATCH] Fix type typo --- src/rendering/swrenderer/line/r_renderdrawsegment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/swrenderer/line/r_renderdrawsegment.cpp b/src/rendering/swrenderer/line/r_renderdrawsegment.cpp index fc5f51db6..076e4f822 100644 --- a/src/rendering/swrenderer/line/r_renderdrawsegment.cpp +++ b/src/rendering/swrenderer/line/r_renderdrawsegment.cpp @@ -215,7 +215,7 @@ namespace swrenderer double top, bot; GetMaskedWallTopBottom(ds, top, bot); - float alpha = FLOAT2FIXED((float)MIN(curline->linedef->alpha, 1.)); + fixed_t alpha = FLOAT2FIXED((float)MIN(curline->linedef->alpha, 1.)); bool additive = (curline->linedef->flags & ML_ADDTRANS) != 0; RenderWallPart renderWallpart(Thread);