From 06a35dea11f9028398b90197907703bf28ea323d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 26 Aug 2010 18:03:15 +0000 Subject: [PATCH] - added: offset the trail actors spawned by AFastProjectile by missileheight. SVN r2599 (trunk) --- src/g_shared/a_fastprojectile.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/g_shared/a_fastprojectile.cpp b/src/g_shared/a_fastprojectile.cpp index 3bd2903ee..161323b2b 100644 --- a/src/g_shared/a_fastprojectile.cpp +++ b/src/g_shared/a_fastprojectile.cpp @@ -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)