mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-17 23:21:22 +00:00
Messed up the indentation royally.
This commit is contained in:
parent
c786dbda78
commit
5a048df3d5
1 changed files with 2 additions and 2 deletions
|
@ -4439,8 +4439,8 @@ static void P_Boss1Thinker(mobj_t *mobj)
|
||||||
if (mobj->flags2 & MF2_SKULLFLY)
|
if (mobj->flags2 & MF2_SKULLFLY)
|
||||||
{
|
{
|
||||||
fixed_t dist = (mobj->eflags & MFE_VERTICALFLIP)
|
fixed_t dist = (mobj->eflags & MFE_VERTICALFLIP)
|
||||||
? ((mobj->ceilingz-(2*mobj->height)) - (mobj->z+mobj->height))
|
? ((mobj->ceilingz-(2*mobj->height)) - (mobj->z+mobj->height))
|
||||||
: (mobj->z - (mobj->floorz+(2*mobj->height)));
|
: (mobj->z - (mobj->floorz+(2*mobj->height)));
|
||||||
if (dist > 0 && P_MobjFlip(mobj)*mobj->momz > 0)
|
if (dist > 0 && P_MobjFlip(mobj)*mobj->momz > 0)
|
||||||
mobj->momz = FixedMul(mobj->momz, FRACUNIT - (dist>>12));
|
mobj->momz = FixedMul(mobj->momz, FRACUNIT - (dist>>12));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue