Disabling the functionality of SL_NOPHYSICS for 2.1 patches by never applying it

This commit is contained in:
toasterbabe 2016-06-18 23:55:43 +01:00
parent 9c277bfb22
commit 3fe87eff97

View file

@ -250,7 +250,7 @@ void P_SpawnSlope_Line(int linenum)
UINT8 flags = 0; // Slope flags UINT8 flags = 0; // Slope flags
if (line->flags & ML_NOSONIC) if (line->flags & ML_NOSONIC)
flags |= SL_NOPHYSICS; ; // flags |= SL_NOPHYSICS; - disabled for 2.1
if (line->flags & ML_NOTAILS) if (line->flags & ML_NOTAILS)
flags |= SL_NODYNAMIC; flags |= SL_NODYNAMIC;
if (line->flags & ML_NOKNUX) if (line->flags & ML_NOKNUX)
@ -686,7 +686,7 @@ void P_ResetDynamicSlopes(void) {
UINT8 flags = SL_VERTEXSLOPE; UINT8 flags = SL_VERTEXSLOPE;
if (lines[i].flags & ML_NOSONIC) if (lines[i].flags & ML_NOSONIC)
flags |= SL_NOPHYSICS; ; // flags |= SL_NOPHYSICS; - disabled for 2.1
if (!(lines[i].flags & ML_NOTAILS)) if (!(lines[i].flags & ML_NOTAILS))
flags |= SL_NODYNAMIC; flags |= SL_NODYNAMIC;