Skip to content

Commit

Permalink
Fix errant whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kraflab committed Dec 26, 2022
1 parent 4e733de commit 6ecf102
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions prboom2/src/p_pspr.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ static const int recoil_values[] = { // phares

void P_SetPsprite(player_t *player, int position, statenum_t stnum)
{
P_SetPspritePtr(player, &player->psprites[position], stnum);
P_SetPspritePtr(player, &player->psprites[position], stnum);
}

//
Expand Down Expand Up @@ -1419,7 +1419,7 @@ void A_ConsumeAmmo(player_t *player, pspdef_t *psp)
// don't do dumb things, kids
type = weaponinfo[player->readyweapon].ammo;
if (player->cheats & CF_INFINITE_AMMO || !psp->state || type == am_noammo)
return;
return;

// use the weapon's ammo-per-shot amount if zero.
// to subtract zero ammo, don't call this function. ;)
Expand Down Expand Up @@ -3425,8 +3425,8 @@ void A_CStaffCheckBlink(player_t * player, pspdef_t * psp)
}
}

#define FLAMESPEED (0.45*FRACUNIT)
#define CFLAMERANGE (12*64*FRACUNIT)
#define FLAMESPEED (0.45*FRACUNIT)
#define CFLAMERANGE (12*64*FRACUNIT)

void A_CFlameAttack(player_t * player, pspdef_t * psp)
{
Expand Down Expand Up @@ -3496,7 +3496,7 @@ void A_CFlameMissile(mobj_t * actor)
}
}

#define FLAMEROTSPEED 2*FRACUNIT
#define FLAMEROTSPEED 2*FRACUNIT

void A_CFlameRotate(mobj_t * actor)
{
Expand Down Expand Up @@ -3843,10 +3843,10 @@ void A_CHolySpawnPuff(mobj_t * actor)
P_SpawnMobj(actor->x, actor->y, actor->z, HEXEN_MT_HOLY_MISSILE_PUFF);
}

#define SHARDSPAWN_LEFT 1
#define SHARDSPAWN_RIGHT 2
#define SHARDSPAWN_UP 4
#define SHARDSPAWN_DOWN 8
#define SHARDSPAWN_LEFT 1
#define SHARDSPAWN_RIGHT 2
#define SHARDSPAWN_UP 4
#define SHARDSPAWN_DOWN 8

void A_FireConePL1(player_t * player, pspdef_t * psp)
{
Expand Down

0 comments on commit 6ecf102

Please sign in to comment.