From 73bdd06cebd094c8b4329830132ec5a036a2869f Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 22 Jan 2015 14:10:55 +0100 Subject: [PATCH] - removed bogus angle modification from reflection code. --- src/p_mobj.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index bb33a88c4..ef23ca0ba 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -1990,15 +1990,9 @@ fixed_t P_XYMovement (AActor *mo, fixed_t scrollx, fixed_t scrolly) //dest->x - source->x FVector3 velocity(origin->x - mo->x, origin->y - mo->y, (origin->z + (origin->height/2)) - mo->z); velocity.Resize(speed); - angle = mo->angle >>= ANGLETOFINESHIFT; mo->velx = (fixed_t)(velocity.X); mo->vely = (fixed_t)(velocity.Y); mo->velz = (fixed_t)(velocity.Z); - /* - mo->velx = FixedMul(mo->Speed, finecosine[angle]); - mo->vely = FixedMul(mo->Speed, finesine[angle]); - mo->velz = -mo->velz; - */ } else {