mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- buildutils: Replace sintable[]
use within Duke's player_w.cpp with bsin()
/bcos()
.
This commit is contained in:
parent
1c5c90d00f
commit
6800e192e1
1 changed files with 2 additions and 2 deletions
|
@ -342,8 +342,8 @@ void operateweapon_ww(int snum, ESyncBits actions, int psect)
|
||||||
}
|
}
|
||||||
|
|
||||||
auto j = EGS(p->cursectnum,
|
auto j = EGS(p->cursectnum,
|
||||||
p->posx + (sintable[(p->angle.ang.asbuild() + 512) & 2047] >> 6),
|
p->posx + p->angle.ang.bcos(-6),
|
||||||
p->posy + (sintable[p->angle.ang.asbuild() & 2047] >> 6),
|
p->posy + p->angle.ang.bsin(-6),
|
||||||
p->posz, HEAVYHBOMB, -16, 9, 9,
|
p->posz, HEAVYHBOMB, -16, 9, 9,
|
||||||
p->angle.ang.asbuild(), (k + (p->hbomb_hold_delay << 5)), i, p->GetActor(), 1);
|
p->angle.ang.asbuild(), (k + (p->hbomb_hold_delay << 5)), i, p->GetActor(), 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue