mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 19:31:26 +00:00
For safety, clear MF_SLIDEME and MF_GRENADEBOUNCE flags before using
This commit is contained in:
parent
43b790c26f
commit
8f50fbeb4f
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue