From 154e83331d374b84e72e33ae97a84bd4423fc307 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 6 Jul 2012 03:16:13 +0000 Subject: [PATCH] - We don't need to keep the FloatBobOffsets[] verison of DoWaggle around. SVN r3743 (trunk) --- src/p_floor.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/p_floor.cpp b/src/p_floor.cpp index 443ec01be6..d88886b14f 100644 --- a/src/p_floor.cpp +++ b/src/p_floor.cpp @@ -1300,12 +1300,7 @@ void DWaggleBase::DoWaggle (bool ceiling) m_Accumulator += m_AccDelta; -#if 1 fixed_t mag = finesine[(m_Accumulator>>9)&8191]*8; -#else - // Hexen used a 64 entry(!) sine table here which is not nearly precise enough for smooth movement - fixed_t mag = FloatBobOffsets[(m_Accumulator>>FRACBITS)&63]; -#endif dist = plane->d; plane->d = m_OriginalDist + plane->PointToDist (0, 0, FixedMul (mag, m_Scale));