mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-27 22:00:52 +00:00
Remove redundant statements. This commit doesn't actually do anything.
git-svn-id: https://svn.eduke32.com/eduke32@7066 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d2f980694b
commit
7b1cdb6f12
1 changed files with 3 additions and 10 deletions
|
@ -4559,7 +4559,6 @@ ACTOR_STATIC void G_MoveActors(void)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (pSprite->xvel < 32) pSprite->xvel += 4;
|
|
||||||
pSprite->xvel = 64 - (sintable[(pData[1]+512)&2047]>>9);
|
pSprite->xvel = 64 - (sintable[(pData[1]+512)&2047]>>9);
|
||||||
|
|
||||||
pSprite->ang += G_GetAngleDelta(pSprite->ang,
|
pSprite->ang += G_GetAngleDelta(pSprite->ang,
|
||||||
|
@ -6497,9 +6496,6 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
|
||||||
|
|
||||||
if (ldist(&sprite[pSprite->owner],pSprite) < 1024)
|
if (ldist(&sprite[pSprite->owner],pSprite) < 1024)
|
||||||
{
|
{
|
||||||
int const saveAng = pSprite->ang;
|
|
||||||
pSprite->ang = getangle(pPlayer->pos.x - pSprite->x, pPlayer->pos.y - pSprite->y);
|
|
||||||
pSprite->ang = saveAng;
|
|
||||||
pSprite->owner = -1;
|
pSprite->owner = -1;
|
||||||
goto next_sprite;
|
goto next_sprite;
|
||||||
}
|
}
|
||||||
|
@ -6749,14 +6745,11 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
|
||||||
else pData[0] = 2;
|
else pData[0] = 2;
|
||||||
|
|
||||||
for (SPRITES_OF_SECT(SECT(spriteNum), j))
|
for (SPRITES_OF_SECT(SECT(spriteNum), j))
|
||||||
{
|
|
||||||
if (sprite[j].cstat&16)
|
|
||||||
{
|
{
|
||||||
if ((sprite[j].cstat & 16) && (A_CheckSpriteFlags(j, SFLAG_NOSHADE) == 0))
|
if ((sprite[j].cstat & 16) && (A_CheckSpriteFlags(j, SFLAG_NOSHADE) == 0))
|
||||||
sprite[j].shade = (pSector->ceilingstat & 1) ? pSector->ceilingshade : pSector->floorshade;
|
sprite[j].shade = (pSector->ceilingstat & 1) ? pSector->ceilingshade : pSector->floorshade;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue