From b127997824cfa5066ca4e2d00731dff7f35c4ea5 Mon Sep 17 00:00:00 2001 From: terminx Date: Tue, 17 Sep 2019 03:20:20 +0000 Subject: [PATCH] Just formatting... git-svn-id: https://svn.eduke32.com/eduke32@8104 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/actors.cpp | 8 ++++---- source/duke3d/src/player.cpp | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/source/duke3d/src/actors.cpp b/source/duke3d/src/actors.cpp index 80a7da8dc..751f2f971 100644 --- a/source/duke3d/src/actors.cpp +++ b/source/duke3d/src/actors.cpp @@ -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); diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index 4d5b40c48..9d934cc13 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -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;