mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- disable polyobj AABBTree updates
This commit is contained in:
parent
3b77e2db68
commit
4f4d10ce5f
1 changed files with 5 additions and 0 deletions
|
@ -44,9 +44,14 @@ LevelAABBTree::LevelAABBTree()
|
|||
{
|
||||
if (!level.lines[i].backsector)
|
||||
{
|
||||
#ifdef USE_POLYOBJ_SHADOWS
|
||||
if (level.lines[i].sidedef[0] && (level.lines[i].sidedef[0]->Flags & WALLF_POLYOBJ))
|
||||
polylines.Push(i);
|
||||
line_elements.Push(i);
|
||||
#else
|
||||
if (!level.lines[i].sidedef[0] || !(level.lines[i].sidedef[0]->Flags & WALLF_POLYOBJ))
|
||||
line_elements.Push(i);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue