mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- PostProcess
This commit is contained in:
parent
9d642e18e7
commit
1e10cef556
1 changed files with 8 additions and 7 deletions
|
@ -2712,21 +2712,22 @@ void PostProcess()
|
|||
if (wall[nWall].picnum == kTile3603)
|
||||
{
|
||||
wall[nWall].pal = 1;
|
||||
int nSprite = insertsprite(i, 407);
|
||||
auto pSprite = &sprite[nSprite];
|
||||
pSprite->cstat = 0x8000;
|
||||
auto pActor = insertActor(i, 407);
|
||||
pActor->s().cstat = 0x8000;
|
||||
}
|
||||
|
||||
nWall++;
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < kMaxSprites; i++)
|
||||
ExhumedLinearSpriteIterator it;
|
||||
while (auto act = it.Next())
|
||||
{
|
||||
if (sprite[i].statnum < kMaxStatus && sprite[i].picnum == kTile3603)
|
||||
auto spr = &act->s();
|
||||
if (spr->statnum < kMaxStatus && spr->picnum == kTile3603)
|
||||
{
|
||||
changespritestat(i, 407);
|
||||
sprite[i].pal = 1;
|
||||
ChangeActorStat(act, 407);
|
||||
spr->pal = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue