mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 06:53:40 +00:00
- fixed: The monster pack's Afrit no longer worked.
SVN r2165 (trunk)
This commit is contained in:
parent
ea11eb9e3d
commit
4b04b94414
1 changed files with 3 additions and 1 deletions
|
@ -2232,7 +2232,9 @@ void P_ZMovement (AActor *mo, fixed_t oldfloorz)
|
||||||
// old code for boss cube disabled
|
// old code for boss cube disabled
|
||||||
//if ((mo->flags & MF_MISSILE) && (!(gameinfo.gametype & GAME_DoomChex) || !(mo->flags & MF_NOCLIP)))
|
//if ((mo->flags & MF_MISSILE) && (!(gameinfo.gametype & GAME_DoomChex) || !(mo->flags & MF_NOCLIP)))
|
||||||
|
|
||||||
if (mo->flags & MF_MISSILE)
|
// We can't remove this completely because it was abused by some DECORATE definitions
|
||||||
|
// (e.g. the monster pack's Afrit)
|
||||||
|
if ((mo->flags & MF_MISSILE) && ((mo->flags & MF_NOGRAVITY) || !(mo->flags & MF_NOCLIP)))
|
||||||
{
|
{
|
||||||
mo->z = mo->floorz;
|
mo->z = mo->floorz;
|
||||||
if (mo->BounceFlags & BOUNCE_Floors)
|
if (mo->BounceFlags & BOUNCE_Floors)
|
||||||
|
|
Loading…
Reference in a new issue