- fixed the railgun's spiral duration was set incorrectly.

This commit is contained in:
Christoph Oelckers 2017-01-11 01:23:08 +01:00
parent 385ebf2ed2
commit f4edaa2662

View file

@ -764,7 +764,7 @@ void P_DrawRailTrail(AActor *source, TArray<SPortalHit> &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;