mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-13 04:24:39 +00:00
- forgot to save the last change.
This commit is contained in:
parent
5ad43256cc
commit
2254dacdf1
1 changed files with 3 additions and 4 deletions
|
@ -164,7 +164,7 @@ int othercameradist = 1280;
|
|||
int othercameraclock;
|
||||
|
||||
#if 0
|
||||
void CalcOtherPosition(spritetype *pSprite, int *pX, int *pY, int *pZ, sectortype** vsectnum, int nAng, fixed_t zm, int smoothratio) // currently unused
|
||||
void CalcOtherPosition(DBloodActor *actor, int *pX, int *pY, int *pZ, sectortype** vsectnum, int nAng, fixed_t zm, int smoothratio) // currently unused
|
||||
{
|
||||
int vX = MulScale(-Cos(nAng), 1280, 30);
|
||||
int vY = MulScale(-Sin(nAng), 1280, 30);
|
||||
|
@ -629,13 +629,12 @@ void viewDrawScreen(bool sceneonly)
|
|||
it.Reset(kStatProjectile);
|
||||
while (auto actor = it.Next())
|
||||
{
|
||||
spritetype* pSprite = &actor->s();
|
||||
switch (pSprite->type) {
|
||||
switch (actor->spr.type) {
|
||||
case kMissileFlareRegular:
|
||||
case kMissileTeslaAlt:
|
||||
case kMissileFlareAlt:
|
||||
case kMissileTeslaRegular:
|
||||
if (gotsector[pSprite->sectno()]) brightness += 256;
|
||||
if (gotsector[actor->spr.sectno()]) brightness += 256;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue