From dc9b37c8474de25ee8e527d6baa9e1b003087816 Mon Sep 17 00:00:00 2001 From: nukeykt Date: Sun, 26 Jan 2020 21:07:43 +0900 Subject: [PATCH] More faithful old pushmove implementation this fixes Daedalus's e3m1 demo --- 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 e0d8a6a23..34e224e19 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -1663,7 +1663,7 @@ int pushmove(vec3_t *const vect, int16_t *const sectnum, bad = -1; k--; if (k <= 0) return bad; clipupdatesector(vect->vec2, sectnum, walldist); - if (*sectnum < 0) return -1; + if (enginecompatibility_mode == ENGINECOMPATIBILITY_NONE && *sectnum < 0) return -1; } else if (bitmap_test(clipsectormap, wal->nextsector) == 0) addclipsect(wal->nextsector);