- 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 b7460144b6
commit 98adc98e56

View file

@ -763,7 +763,7 @@ void P_DrawRailTrail(AActor *source, TArray<SPortalHit> &portalhits, int color1,
int spiralduration = (duration == 0) ? 35 : duration; int spiralduration = (duration == 0) ? 35 : duration;
p->alpha = 1.f; p->alpha = 1.f;
p->ttl = duration; p->ttl = spiralduration;
p->fadestep = FADEFROMTTL(spiralduration); p->fadestep = FADEFROMTTL(spiralduration);
p->size = 3; p->size = 3;
p->bright = fullbright; p->bright = fullbright;