- Remove FloatBobOffsets[], since it's just a mini-finesine[] table multiplied by 8.
SVN r3753 (trunk)
This commit is contained in:
parent
26e65b26a1
commit
ba00e3a185
12 changed files with 36 additions and 63 deletions
|
|
@ -226,8 +226,8 @@ void A_WraithFX4 (AActor *self)
|
|||
DEFINE_ACTION_FUNCTION(AActor, A_WraithChase)
|
||||
{
|
||||
int weaveindex = self->special1;
|
||||
self->z += FloatBobOffsets[weaveindex];
|
||||
self->special1 = (weaveindex+2)&63;
|
||||
self->z += finesine[weaveindex << BOBTOFINESHIFT] * 8;
|
||||
self->special1 = (weaveindex + 2) & 63;
|
||||
// if (self->floorclip > 0)
|
||||
// {
|
||||
// P_SetMobjState(self, S_WRAITH_RAISE2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue