ref: 6d916b0985f31acc22b98bb53a42086c63367baa
parent: 4ccf8bb9ef7dcfda6d7e0ab172df2dbdae74110c
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Dec 31 15:12:03 EST 2023
D_DrawSurfaces: fix wrong flag used to draw (or not) zspans
--- a/d_edge.c
+++ b/d_edge.c
@@ -110,7 +110,7 @@
if(alpha < 1)
alpha = 255;
- blend = (s->flags & SURF_TRANS) || (r_drawflags & DRAW_BLEND);
+ blend = (s->flags & SURF_FENCE) || (r_drawflags & DRAW_BLEND);
dvars.zistepu = s->d_zistepu;
dvars.zistepv = s->d_zistepv;