mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 21:20:39 +00:00
- got rid of the only getangle call in the backend
This commit is contained in:
parent
9cd5766cd0
commit
0bfc57e68a
1 changed files with 3 additions and 3 deletions
|
@ -857,9 +857,9 @@ int pushmove_(vec3_t *const vect, int *const sectnum,
|
|||
|
||||
if (j != 0)
|
||||
{
|
||||
j = getangle(wal->delta());
|
||||
int32_t dx = -bsin(j, -11);
|
||||
int32_t dy = bcos(j, -11);
|
||||
DAngle jj = VecToAngle(wal->delta());
|
||||
int32_t dx = -int(jj.Sin() * 8);
|
||||
int32_t dy = int(jj.Cos() * 8);
|
||||
int bad2 = 16;
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue