Just formatting...

git-svn-id: https://svn.eduke32.com/eduke32@8104 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-09-17 03:20:20 +00:00 committed by Christoph Oelckers
parent ea66e1a8ee
commit b127997824
2 changed files with 7 additions and 7 deletions

View File

@ -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);

View File

@ -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;