- Remove FloatBobOffsets[], since it's just a mini-finesine[] table multiplied by 8.

SVN r3753 (trunk)
This commit is contained in:
Randy Heit 2012-07-11 02:50:13 +00:00
commit ba00e3a185
12 changed files with 36 additions and 63 deletions

View file

@ -80,8 +80,8 @@ DEFINE_ACTION_FUNCTION(AActor, A_FogMove)
if ((self->args[3] % 4) == 0)
{
weaveindex = self->special2;
self->z += FloatBobOffsets[weaveindex]>>1;
self->special2 = (weaveindex+1)&63;
self->z += finesine[weaveindex << BOBTOFINESHIFT] * 4;
self->special2 = (weaveindex + 1) & 63;
}
angle = self->angle>>ANGLETOFINESHIFT;