- 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

@ -422,8 +422,8 @@ DEFINE_ACTION_FUNCTION(AActor, A_PoisonBagDamage)
P_RadiusAttack (self, self->target, 4, 40, self->DamageType, true);
bobIndex = self->special2;
self->z += FloatBobOffsets[bobIndex]>>4;
self->special2 = (bobIndex+1)&63;
self->z += finesine[bobIndex << BOBTOFINESHIFT] >> 1;
self->special2 = (bobIndex + 1) & 63;
}
//===========================================================================