diff --git a/src/p_map.cpp b/src/p_map.cpp index 7a9d9da19f..b7f8c04f17 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -4356,8 +4356,8 @@ void P_RadiusAttack (AActor *bombspot, AActor *bombsource, int bombdamage, int b velz *= 0.8f; } angle_t ang = R_PointToAngle2 (bombspot->x, bombspot->y, thing->x, thing->y) >> ANGLETOFINESHIFT; - thing->velx += FLOAT2FIXED (finecosine[ang] * thrust); - thing->vely += FLOAT2FIXED (finesine[ang] * thrust); + thing->velx += fixed_t (finecosine[ang] * thrust); + thing->vely += fixed_t (finesine[ang] * thrust); if (bombdodamage) thing->velz += (fixed_t)velz; // this really doesn't work well }