- add some compatibility settings to fix rendering glitches in BTSX_E1 MAP12.
This commit is contained in:
parent
e2c2f635ac
commit
86d9c7ec8e
7 changed files with 16 additions and 16 deletions
|
|
@ -163,7 +163,6 @@ void FDrawInfo::AddUpperMissingTexture(side_t * side, subsector_t *sub, fixed_t
|
|||
return;
|
||||
}
|
||||
|
||||
//@sync-hack
|
||||
for(unsigned int i=0;i<MissingUpperTextures.Size();i++)
|
||||
{
|
||||
if (MissingUpperTextures[i].sub == sub)
|
||||
|
|
@ -230,13 +229,12 @@ void FDrawInfo::AddLowerMissingTexture(side_t * side, subsector_t *sub, fixed_t
|
|||
}
|
||||
|
||||
// Ignore FF_FIX's because they are designed to abuse missing textures
|
||||
if (seg->backsector->e->XFloor.ffloors.Size() && seg->backsector->e->XFloor.ffloors[0]->flags&FF_FIX)
|
||||
if (seg->backsector->e->XFloor.ffloors.Size() && (seg->backsector->e->XFloor.ffloors[0]->flags&(FF_FIX|FF_SEETHROUGH)) == FF_FIX)
|
||||
{
|
||||
totalms.Unclock();
|
||||
return;
|
||||
}
|
||||
|
||||
//@sync-hack
|
||||
for(unsigned int i=0;i<MissingLowerTextures.Size();i++)
|
||||
{
|
||||
if (MissingLowerTextures[i].sub == sub)
|
||||
|
|
@ -733,7 +731,6 @@ void FDrawInfo::AddHackedSubsector(subsector_t * sub)
|
|||
{
|
||||
if (!(level.maptype == MAPTYPE_HEXEN))
|
||||
{
|
||||
//@sync-hack (probably not, this is only called from the main thread)
|
||||
SubsectorHackInfo sh={sub, 0};
|
||||
SubsectorHacks.Push (sh);
|
||||
}
|
||||
|
|
@ -1033,13 +1030,11 @@ ADD_STAT(sectorhacks)
|
|||
|
||||
void FDrawInfo::AddFloorStack(sector_t * sec)
|
||||
{
|
||||
//@sync-hack
|
||||
FloorStacks.Push(sec);
|
||||
}
|
||||
|
||||
void FDrawInfo::AddCeilingStack(sector_t * sec)
|
||||
{
|
||||
//@sync-hack
|
||||
CeilingStacks.Push(sec);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue