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 43b790c26f
commit 8f50fbeb4f
1 changed files with 1 additions and 0 deletions

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)