mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +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
|
||||
{
|
||||
if (pSprite->xvel < 32) pSprite->xvel += 4;
|
||||
pSprite->xvel = 64 - (sintable[(pData[1]+512)&2047]>>9);
|
||||
|
||||
pSprite->ang += G_GetAngleDelta(pSprite->ang,
|
||||
|
@ -6497,10 +6496,7 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
|
|||
|
||||
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;
|
||||
}
|
||||
else pSprite->xvel=256;
|
||||
|
@ -6750,11 +6746,8 @@ ACTOR_STATIC void G_MoveEffectors(void) //STATNUM 3
|
|||
|
||||
for (SPRITES_OF_SECT(SECT(spriteNum), j))
|
||||
{
|
||||
if (sprite[j].cstat&16)
|
||||
{
|
||||
if ((sprite[j].cstat & 16) && (A_CheckSpriteFlags(j, SFLAG_NOSHADE) == 0))
|
||||
sprite[j].shade = (pSector->ceilingstat & 1) ? pSector->ceilingshade : pSector->floorshade;
|
||||
}
|
||||
if ((sprite[j].cstat & 16) && (A_CheckSpriteFlags(j, SFLAG_NOSHADE) == 0))
|
||||
sprite[j].shade = (pSector->ceilingstat & 1) ? pSector->ceilingshade : pSector->floorshade;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue