software: hack for bogus height walls
as per comment, this is merely a shitty workaround for a chain reaction of bad fixed point maths since im honestly not feeling like rewriting most of the software renderer to either operate on 64bit or float maths, we just skip drawing anything that seems completely unreasonable
This commit is contained in:
1 parent
8546d27c75
commit
485aab845e
1 file changed
+9
@@ -1207,6 +1207,15 @@ static void R_RenderSegLoop(drawcolumndata_t* dc)
|
||||
if (yl < top)
|
||||
yl = top;
|
||||
|
||||
// insanely shitty hack to fix flickering on some maps
|
||||
// for god knows why, on secret slide the renderer assumes some double sided linedefs have insanely tall walls
|
||||
// since such tall walls are effectively nonsense in any case
|
||||
// just skip them
|
||||
if (yl > FRACUNIT*3)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (markceiling)
|
||||
{
|
||||
bottom = yl > floorclip[rw_x] ? floorclip[rw_x] : yl;
|
||||
|
||||
Reference in new issue
Block a user