0
0
Fork 0
mirror of https://github.com/DrBeef/Raze.git synced 2025-03-04 00:12:05 +00:00

- got rid of the only getangle call in the backend

This commit is contained in:
Christoph Oelckers 2022-09-28 12:11:50 +02:00
parent 9cd5766cd0
commit 0bfc57e68a

View file

@ -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
{