Commit 9e58785f authored by Richard Gobeille's avatar Richard Gobeille
Browse files

Just formatting...

From-SVN: r8104
parent 3c9c0ec3
......@@ -431,7 +431,7 @@ int A_GetClipdist(int spriteNum, int clipDist)
if (clipDist < 0)
{
auto const pSprite = &sprite[spriteNum];
int const isEnemy = A_CheckEnemySprite(pSprite);
int const isEnemy = A_CheckEnemySprite(pSprite);
if (A_CheckSpriteFlags(spriteNum, SFLAG_REALCLIPDIST))
clipDist = pSprite->clipdist << 2;
......@@ -464,9 +464,9 @@ int A_GetClipdist(int spriteNum, int clipDist)
int32_t A_MoveSpriteClipdist(int32_t spriteNum, vec3_t const * const change, uint32_t clipType, int32_t clipDist)
{
auto const pSprite = &sprite[spriteNum];
int const isEnemy = A_CheckEnemySprite(pSprite);
vec2_t const oldPos = pSprite->pos.vec2;
auto const pSprite = &sprite[spriteNum];
int const isEnemy = A_CheckEnemySprite(pSprite);
vec2_t const oldPos = pSprite->pos.vec2;
// check to make sure the netcode didn't leave a deleted sprite in the sprite lists.
Bassert(pSprite->sectnum < MAXSECTORS);
......
......@@ -1571,8 +1571,8 @@ int A_ShootWithZvel(int const spriteNum, int const projecTile, int const forceZv
{
Bassert(projecTile >= 0);
auto const pSprite = &sprite[spriteNum];
int const playerNum = (pSprite->picnum == APLAYER) ? P_GetP(pSprite) : -1;
auto const pSprite = &sprite[spriteNum];
int const playerNum = (pSprite->picnum == APLAYER) ? P_GetP(pSprite) : -1;
auto const pPlayer = playerNum >= 0 ? g_player[playerNum].ps : NULL;
if (forceZvel != SHOOT_HARDCODED_ZVEL)
......@@ -1654,7 +1654,7 @@ int A_ShootWithZvel(int const spriteNum, int const projecTile, int const forceZv
static void P_DisplaySpit(void)
{
auto const pPlayer = g_player[screenpeek].ps;
int const loogCounter = pPlayer->loogcnt;
int const loogCounter = pPlayer->loogcnt;
if (loogCounter == 0)
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment