mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-02 10:11:04 +00:00
- deal with s() in shared code.
clip.cpp was left alone, except for the actual call.
This commit is contained in:
parent
1f57322d56
commit
f602cf3806
8 changed files with 30 additions and 40 deletions
|
@ -565,15 +565,14 @@ void renderDrawMapView(int cposx, int cposy, int czoom, int cang)
|
|||
TSectIterator<DCoreActor> it(sect);
|
||||
while (auto act = it.Next())
|
||||
{
|
||||
auto spr = &act->s();
|
||||
if (spr->cstat & CSTAT_SPRITE_INVISIBLE)
|
||||
if (act->spr.cstat & CSTAT_SPRITE_INVISIBLE)
|
||||
continue;
|
||||
|
||||
if (spr->cstat & CSTAT_SPRITE_ALIGNMENT_FLOOR) // floor and slope sprites
|
||||
if (act->spr.cstat & CSTAT_SPRITE_ALIGNMENT_FLOOR) // floor and slope sprites
|
||||
{
|
||||
if ((spr->cstat & (CSTAT_SPRITE_ONE_SIDE | CSTAT_SPRITE_YFLIP)) == (CSTAT_SPRITE_ONE_SIDE | CSTAT_SPRITE_YFLIP))
|
||||
if ((act->spr.cstat & (CSTAT_SPRITE_ONE_SIDE | CSTAT_SPRITE_YFLIP)) == (CSTAT_SPRITE_ONE_SIDE | CSTAT_SPRITE_YFLIP))
|
||||
continue; // upside down
|
||||
floorsprites.Push(spr);
|
||||
floorsprites.Push(&act->spr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue