- 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) if (j != 0)
{ {
j = getangle(wal->delta()); DAngle jj = VecToAngle(wal->delta());
int32_t dx = -bsin(j, -11); int32_t dx = -int(jj.Sin() * 8);
int32_t dy = bcos(j, -11); int32_t dy = int(jj.Cos() * 8);
int bad2 = 16; int bad2 = 16;
do do
{ {