mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed typo in sky preparation.
This commit is contained in:
parent
8d9d71f55f
commit
c45e1cbbf0
1 changed files with 4 additions and 4 deletions
|
@ -346,16 +346,16 @@ 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];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ztop[0] = bs->floorplane.ZatPoint(v1);
|
ztop[0] = bs->floorplane.ZatPoint(v1);
|
||||||
ztop[1] = bs->floorplane.ZatPoint(v2);
|
ztop[1] = bs->floorplane.ZatPoint(v2);
|
||||||
flags|=GLWF_SKYHACK; // mid textures on such lines need special treatment!
|
flags |= GLWF_SKYHACK; // mid textures on such lines need special treatment!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue