mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 13:21:10 +00:00
Merge branch 'master' into next
This commit is contained in:
commit
2f8eadd211
2 changed files with 7 additions and 4 deletions
|
@ -228,6 +228,7 @@ ifdef GCC80
|
|||
WFLAGS+=-Wno-format-overflow
|
||||
WFLAGS+=-Wno-stringop-truncation
|
||||
WFLAGS+=-Wno-stringop-overflow
|
||||
WFLAGS+=-Wno-error=multistatement-macros
|
||||
endif
|
||||
|
||||
|
||||
|
|
10
src/r_segs.c
10
src/r_segs.c
|
@ -3063,8 +3063,9 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
|||
else
|
||||
markceiling = false;
|
||||
|
||||
// Don't render the ceiling again when rendering polyobjects
|
||||
if (curline->polyseg)
|
||||
// Don't mark ceiling flat lines for polys unless this line has an upper texture, otherwise we get flat leakage pulling downward
|
||||
// (If it DOES have an upper texture and we do this, the ceiling won't render at all)
|
||||
if (curline->polyseg && !curline->sidedef->toptexture)
|
||||
markceiling = false;
|
||||
}
|
||||
|
||||
|
@ -3076,8 +3077,9 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
|||
else
|
||||
markfloor = false;
|
||||
|
||||
// Don't render the floor again when rendering polyobjects
|
||||
if (curline->polyseg)
|
||||
// Don't mark floor flat lines for polys unless this line has a lower texture, otherwise we get flat leakage pulling upward
|
||||
// (If it DOES have a lower texture and we do this, the floor won't render at all)
|
||||
if (curline->polyseg && !curline->sidedef->bottomtexture)
|
||||
markfloor = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue