- 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
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue