mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 20:40:47 +00:00
- buildutils: Replace sintable[]
use within Duke's spawn.cpp with bsin()
/bcos()
.
This commit is contained in:
parent
d6a094dcdd
commit
ad814f66b0
1 changed files with 2 additions and 2 deletions
|
@ -456,8 +456,8 @@ void initshell(DDukeActor* actj, DDukeActor* acti, bool isshell)
|
|||
sp->z = spj->z - PHEIGHT + (3 << 8);
|
||||
}
|
||||
|
||||
sp->x = spj->x + (sintable[(a + 512) & 2047] >> 7);
|
||||
sp->y = spj->y + (sintable[a & 2047] >> 7);
|
||||
sp->x = spj->x + bcos(a, -7);
|
||||
sp->y = spj->y + bsin(a, -7);
|
||||
|
||||
sp->shade = -8;
|
||||
|
||||
|
|
Loading…
Reference in a new issue