mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- added: offset the trail actors spawned by AFastProjectile by missileheight.
SVN r2599 (trunk)
This commit is contained in:
parent
eed5812799
commit
06a35dea11
1 changed files with 3 additions and 0 deletions
|
@ -158,10 +158,13 @@ void AFastProjectile::Effect()
|
|||
if (name != NAME_None)
|
||||
{
|
||||
fixed_t hitz = z-8*FRACUNIT;
|
||||
|
||||
if (hitz < floorz)
|
||||
{
|
||||
hitz = floorz;
|
||||
}
|
||||
// Do not clip this offset to the floor.
|
||||
hitz += GetClass()->Meta.GetMetaFixed (ACMETA_MissileHeight);
|
||||
|
||||
const PClass *trail = PClass::FindClass(name);
|
||||
if (trail != NULL)
|
||||
|
|
Loading…
Reference in a new issue