From 8138086b40a61e347ea97e6aab74a32f35487880 Mon Sep 17 00:00:00 2001 From: spherallic <spherallic@gmail.com> Date: Thu, 22 Jun 2023 15:13:29 +0200 Subject: [PATCH] Don't set dynamic flags when disabling physics (This was done to quickly test something, left in by mistake) --- src/p_setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 7dda2be1f1..0ef2bef424 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -2790,7 +2790,7 @@ static void P_LoadTextmap(void) sc->f_slope = MakeViaEquationConstants(textmap_planefloor.a, textmap_planefloor.b, textmap_planefloor.c, textmap_planefloor.d); sc->hasslope = true; if (sc->specialflags & SSF_NOPHYSICSFLOOR) - sc->f_slope->flags |= SL_NOPHYSICS|SL_DYNAMIC; + sc->f_slope->flags |= SL_NOPHYSICS; } if (textmap_planeceiling.defined == (PD_A|PD_B|PD_C|PD_D)) @@ -2798,7 +2798,7 @@ static void P_LoadTextmap(void) sc->c_slope = MakeViaEquationConstants(textmap_planeceiling.a, textmap_planeceiling.b, textmap_planeceiling.c, textmap_planeceiling.d); sc->hasslope = true; if (sc->specialflags & SSF_NOPHYSICSCEILING) - sc->c_slope->flags |= SL_NOPHYSICS|SL_DYNAMIC; + sc->c_slope->flags |= SL_NOPHYSICS; } TextmapFixFlatOffsets(sc); -- GitLab