mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Just formatting...
git-svn-id: https://svn.eduke32.com/eduke32@8104 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ea66e1a8ee
commit
b127997824
2 changed files with 7 additions and 7 deletions
|
@ -431,7 +431,7 @@ int A_GetClipdist(int spriteNum, int clipDist)
|
||||||
if (clipDist < 0)
|
if (clipDist < 0)
|
||||||
{
|
{
|
||||||
auto const pSprite = &sprite[spriteNum];
|
auto const pSprite = &sprite[spriteNum];
|
||||||
int const isEnemy = A_CheckEnemySprite(pSprite);
|
int const isEnemy = A_CheckEnemySprite(pSprite);
|
||||||
|
|
||||||
if (A_CheckSpriteFlags(spriteNum, SFLAG_REALCLIPDIST))
|
if (A_CheckSpriteFlags(spriteNum, SFLAG_REALCLIPDIST))
|
||||||
clipDist = pSprite->clipdist << 2;
|
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)
|
int32_t A_MoveSpriteClipdist(int32_t spriteNum, vec3_t const * const change, uint32_t clipType, int32_t clipDist)
|
||||||
{
|
{
|
||||||
auto const pSprite = &sprite[spriteNum];
|
auto const pSprite = &sprite[spriteNum];
|
||||||
int const isEnemy = A_CheckEnemySprite(pSprite);
|
int const isEnemy = A_CheckEnemySprite(pSprite);
|
||||||
vec2_t const oldPos = pSprite->pos.vec2;
|
vec2_t const oldPos = pSprite->pos.vec2;
|
||||||
|
|
||||||
// check to make sure the netcode didn't leave a deleted sprite in the sprite lists.
|
// check to make sure the netcode didn't leave a deleted sprite in the sprite lists.
|
||||||
Bassert(pSprite->sectnum < MAXSECTORS);
|
Bassert(pSprite->sectnum < MAXSECTORS);
|
||||||
|
|
|
@ -1571,8 +1571,8 @@ int A_ShootWithZvel(int const spriteNum, int const projecTile, int const forceZv
|
||||||
{
|
{
|
||||||
Bassert(projecTile >= 0);
|
Bassert(projecTile >= 0);
|
||||||
|
|
||||||
auto const pSprite = &sprite[spriteNum];
|
auto const pSprite = &sprite[spriteNum];
|
||||||
int const playerNum = (pSprite->picnum == APLAYER) ? P_GetP(pSprite) : -1;
|
int const playerNum = (pSprite->picnum == APLAYER) ? P_GetP(pSprite) : -1;
|
||||||
auto const pPlayer = playerNum >= 0 ? g_player[playerNum].ps : NULL;
|
auto const pPlayer = playerNum >= 0 ? g_player[playerNum].ps : NULL;
|
||||||
|
|
||||||
if (forceZvel != SHOOT_HARDCODED_ZVEL)
|
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)
|
static void P_DisplaySpit(void)
|
||||||
{
|
{
|
||||||
auto const pPlayer = g_player[screenpeek].ps;
|
auto const pPlayer = g_player[screenpeek].ps;
|
||||||
int const loogCounter = pPlayer->loogcnt;
|
int const loogCounter = pPlayer->loogcnt;
|
||||||
|
|
||||||
if (loogCounter == 0)
|
if (loogCounter == 0)
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue