From a3fadff0e6c3f64171f985916ec5da91fef6ec07 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 10 Sep 2022 09:34:11 +0200 Subject: [PATCH] - simplified getangle call. --- source/build/src/clip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/clip.cpp b/source/build/src/clip.cpp index 57ec6ebb8..ec4948d14 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -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;