- added: offset the trail actors spawned by AFastProjectile by missileheight.

SVN r2599 (trunk)
This commit is contained in:
Christoph Oelckers 2010-08-26 18:03:15 +00:00
parent eed5812799
commit 06a35dea11

View file

@ -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)