mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- adjust to using msecnode_t's.
This commit is contained in:
parent
9cb2a8f931
commit
be508bc670
1 changed files with 14 additions and 15 deletions
|
@ -363,10 +363,9 @@ static inline void RenderThings(subsector_t * sub, sector_t * sector)
|
|||
SetupSprite.Clock();
|
||||
sector_t * sec=sub->sector;
|
||||
// Handle all things in sector.
|
||||
if (sec->touching_render_things)
|
||||
{
|
||||
for (auto thing : *sec->touching_render_things)
|
||||
for (auto p = sec->touching_renderthings; p != nullptr; p = p->m_snext)
|
||||
{
|
||||
auto thing = p->m_thing;
|
||||
if (thing->validcount == validcount) continue;
|
||||
thing->validcount = validcount;
|
||||
|
||||
|
@ -383,7 +382,7 @@ static inline void RenderThings(subsector_t * sub, sector_t * sector)
|
|||
|
||||
GLRenderer->ProcessSprite(thing, sector, false);
|
||||
}
|
||||
}
|
||||
|
||||
for (msecnode_t *node = sec->render_thinglist; node; node = node->m_snext)
|
||||
{
|
||||
AActor *thing = node->m_thing;
|
||||
|
|
Loading…
Reference in a new issue