mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
simplify check for PL_FLATMAPPING in do_draw_plane()
This commit is contained in:
parent
4d4d91de0a
commit
40e3447805
@ -619,20 +619,11 @@ static void do_draw_plane(visplane_t *pl)
|
||||
|
||||
// sky flat
|
||||
|
||||
if (sky)
|
||||
{
|
||||
if ((pl->picnum & PL_FLATMAPPING) == PL_FLATMAPPING)
|
||||
{
|
||||
do_draw_mbf_sky(pl);
|
||||
return;
|
||||
}
|
||||
|
||||
if (pl->picnum == skyflatnum)
|
||||
if (pl->picnum == skyflatnum && sky)
|
||||
{
|
||||
DrawSkyDef(pl);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (pl->picnum == skyflatnum || pl->picnum & PL_SKYFLAT)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user