- fixed typo in sky preparation.

This commit is contained in:
Christoph Oelckers 2018-12-31 00:11:49 +01:00
parent d61559150c
commit 57d55e6d06

View file

@ -346,7 +346,7 @@ void GLWall::SkyBottom(HWDrawInfo *di, seg_t * seg,sector_t * fs,sector_t * bs,v
} }
zbottom[0]=zbottom[1]=-32768.0f; zbottom[0]=zbottom[1]=-32768.0f;
if ((tex && !tex->isValid()) || bs->GetTexture(sector_t::floor)!=skyflatnum) if ((tex && tex->isValid()) || bs->GetTexture(sector_t::floor) != skyflatnum)
{ {
ztop[0] = zfloor[0]; ztop[0] = zfloor[0];
ztop[1] = zfloor[1]; ztop[1] = zfloor[1];