- revert accidental commit.

SVN r2146 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-30 19:28:41 +00:00
parent 8a22712180
commit fc2f95da0e

View file

@ -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
} }