Merge remote-tracking branch 'origin/slopetexture' into paletteshader
This commit is contained in:
commit
c170f53948
1 file changed
+15
-2
+15
-2
@@ -1126,9 +1126,22 @@ void HWR_SplitWall(sector_t *sector, FOutVector *wallVerts, INT32 texnum, FSurfa
|
||||
}
|
||||
#endif
|
||||
|
||||
// Found a break
|
||||
bot = min(max(bheight, realbot), top);
|
||||
#ifdef ESLOPE
|
||||
if (endbheight > endtop)
|
||||
endbot = endtop;
|
||||
#endif
|
||||
if (bheight >= top)
|
||||
continue;
|
||||
|
||||
//Found a break;
|
||||
bot = bheight;
|
||||
|
||||
if (bot < realbot)
|
||||
bot = realbot;
|
||||
|
||||
#ifdef ESLOPE
|
||||
endbot = min(max(endbheight, endrealbot), endtop);
|
||||
#endif
|
||||
|
||||
Surf->PolyColor.s.alpha = alpha;
|
||||
|
||||
|
||||
Reference in new issue
Block a user