Merge branch '100-make-slopes-static-by-default-and-require-flag-to-turn-them-dynamic' into 'master'

Resolve "Make slopes static by default, and require flag to turn them dynamic."

Closes #100

See merge request STJr/SRB2Internal!140
This commit is contained in:
toaster 2018-04-06 17:43:47 -04:00
commit 8c33cb9134

View file

@ -251,7 +251,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;
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)
flags |= SL_ANCHORVERTEX; flags |= SL_ANCHORVERTEX;