For safety, clear MF_SLIDEME and MF_GRENADEBOUNCE flags before using

This commit is contained in:
mazmazz 2018-08-12 09:28:04 -04:00
parent 89cf2b8793
commit 01436d2a65

View file

@ -10778,6 +10778,7 @@ ML_EFFECT4 : Don't clip inside the ground
}
// Remember position preference for later
mobj->flags &= ~(MF_SLIDEME | MF_GRENADEBOUNCE);
if (topaligned)
mobj->flags |= MF_SLIDEME;
else if (middlealigned)