- We don't need to keep the FloatBobOffsets[] verison of DoWaggle around.

SVN r3743 (trunk)
This commit is contained in:
Randy Heit 2012-07-06 03:16:13 +00:00
parent 9b041cb431
commit 154e83331d
1 changed files with 0 additions and 5 deletions

View File

@ -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));