mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- revert accidental commit.
SVN r2146 (trunk)
This commit is contained in:
parent
8a22712180
commit
fc2f95da0e
1 changed files with 2 additions and 2 deletions
|
@ -4356,8 +4356,8 @@ void P_RadiusAttack (AActor *bombspot, AActor *bombsource, int bombdamage, int b
|
||||||
velz *= 0.8f;
|
velz *= 0.8f;
|
||||||
}
|
}
|
||||||
angle_t ang = R_PointToAngle2 (bombspot->x, bombspot->y, thing->x, thing->y) >> ANGLETOFINESHIFT;
|
angle_t ang = R_PointToAngle2 (bombspot->x, bombspot->y, thing->x, thing->y) >> ANGLETOFINESHIFT;
|
||||||
thing->velx += FLOAT2FIXED (finecosine[ang] * thrust);
|
thing->velx += fixed_t (finecosine[ang] * thrust);
|
||||||
thing->vely += FLOAT2FIXED (finesine[ang] * thrust);
|
thing->vely += fixed_t (finesine[ang] * thrust);
|
||||||
if (bombdodamage)
|
if (bombdodamage)
|
||||||
thing->velz += (fixed_t)velz; // this really doesn't work well
|
thing->velz += (fixed_t)velz; // this really doesn't work well
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue