- 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
|
|
@ -134,8 +134,8 @@ DEFINE_ACTION_FUNCTION(AActor, A_FiredChase)
|
|||
if (self->threshold) self->threshold--;
|
||||
|
||||
// Float up and down
|
||||
self->z += FloatBobOffsets[weaveindex];
|
||||
self->special1 = (weaveindex+2)&63;
|
||||
self->z += finesine[weaveindex << BOBTOFINESHIFT] * 8;
|
||||
self->special1 = (weaveindex + 2) & 63;
|
||||
|
||||
// Ensure it stays above certain height
|
||||
if (self->z < self->floorz + (64*FRACUNIT))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue