From 6e3b6028e9224cd4d90b38ffd4b282cb4e9888a0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 20 Dec 2021 23:56:39 +0100 Subject: [PATCH] - reinstated bug in pushmove not to check the first wall when scanning backwards. For real this time --- 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 bafa4159b..5c8b72416 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -871,7 +871,7 @@ int pushmove_(vec3_t *const vect, int *const sectnum, if (dir > 0) startwall = sec->wallptr, endwall = startwall + sec->wallnum; else - endwall = sec->wallptr - 1, startwall = endwall + sec->wallnum - 1; + endwall = sec->wallptr, startwall = endwall + sec->wallnum - 1; int i;