- simplified getangle call.

This commit is contained in:
Christoph Oelckers 2022-09-10 09:34:11 +02:00
parent c4a8cda95f
commit a3fadff0e6

View file

@ -854,7 +854,7 @@ int pushmove_(vec3_t *const vect, int *const sectnum,
if (j != 0)
{
j = getangle(wal->point2Wall()->wall_int_pos().X-wal->wall_int_pos().X, wal->point2Wall()->wall_int_pos().Y-wal->wall_int_pos().Y);
j = getangle(wal->delta());
int32_t dx = -bsin(j, -11);
int32_t dy = bcos(j, -11);
int bad2 = 16;