mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Fixed: Bouncing missiles landing on an actor would just stop rather than bounce.
SVN r3596 (trunk)
This commit is contained in:
parent
8632c0db04
commit
01dacce549
1 changed files with 11 additions and 3 deletions
|
@ -3305,9 +3305,17 @@ void AActor::Tick ()
|
||||||
}
|
}
|
||||||
z = onmo->z + onmo->height;
|
z = onmo->z + onmo->height;
|
||||||
}
|
}
|
||||||
flags2 |= MF2_ONMOBJ;
|
if (velz != 0 && (flags & MF_MISSILE) && (BounceFlags & BOUNCE_Actors))
|
||||||
velz = 0;
|
{
|
||||||
Crash();
|
secplane_t plane = { 0, 0, FRACUNIT, -z, FRACUNIT };
|
||||||
|
FloorBounceMissile(plane);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
flags2 |= MF2_ONMOBJ;
|
||||||
|
velz = 0;
|
||||||
|
Crash();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue