im good at coding

absolute bruh thing, but it somehow works, fixes the midtextures, and doesent kill performance lmao
This commit is contained in:
alufolie91 committed 2023-09-13 03:54:12 +02:00
1 parent ad4d587a52
commit 2cba586d9c
1 file changed
+4 -6
+4 -6
View File
@@ -1075,7 +1075,8 @@ void HWR_SplitWall(sector_t *sector, FOutVector *wallVerts, INT32 texnum, FSurfa
#endif
#ifdef ESLOPE
if (endbheight >= endtop)
if (endbheight > endtop)
endbot = endtop;
#endif
if (bheight >= top)
continue;
@@ -1085,12 +1086,9 @@ void HWR_SplitWall(sector_t *sector, FOutVector *wallVerts, INT32 texnum, FSurfa
if (bot < realbot)
bot = realbot;
#ifdef ESLOPE
endbot = endbheight;
if (endbot < endrealbot)
endbot = endrealbot;
endbot = min(max(endbheight, endrealbot), endtop);
#endif
Surf->PolyColor.s.alpha = alpha;