From f4edaa26622ff4d5120f4510c8c32be99687303d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 11 Jan 2017 01:23:08 +0100 Subject: [PATCH] - fixed the railgun's spiral duration was set incorrectly. --- src/p_effect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_effect.cpp b/src/p_effect.cpp index e0679338d..0f784fa06 100644 --- a/src/p_effect.cpp +++ b/src/p_effect.cpp @@ -764,7 +764,7 @@ void P_DrawRailTrail(AActor *source, TArray &portalhits, int color1, int spiralduration = (duration == 0) ? 35 : duration; p->alpha = 1.f; - p->ttl = duration; + p->ttl = spiralduration; p->fadestep = FADEFROMTTL(spiralduration); p->size = 3; p->bright = fullbright;