From fc2f95da0e3d1f7125bb6114cbb1f9f03950ba38 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 30 Jan 2010 19:28:41 +0000 Subject: [PATCH] - revert accidental commit. SVN r2146 (trunk) --- src/p_map.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 7a9d9da19..b7f8c04f1 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 }