From 7443c3d167975f9704572e3b315bef381d6e25f1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 7 Apr 2012 15:32:32 +0000 Subject: [PATCH] - replaced CARRYFACTOR definition by an integer-only expression. SVN r3534 (trunk) --- src/p_spec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_spec.h b/src/p_spec.h index 47987d383..55408e6c6 100644 --- a/src/p_spec.h +++ b/src/p_spec.h @@ -95,7 +95,7 @@ private: // Factor to scale scrolling effect into mobj-carrying properties = 3/32. // (This is so scrolling floors and objects on them can move at same speed.) -enum { CARRYFACTOR = ((fixed_t)(FRACUNIT*.09375)) }; +enum { CARRYFACTOR = (3*FRACUNIT >> 5) }; // phares 3/20/98: added new model of Pushers for push/pull effects