Skip to content

Commit

Permalink
- fixed the railgun's spiral duration was set incorrectly.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jan 11, 2017
1 parent b746014 commit 98adc98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_effect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,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;
Expand Down

0 comments on commit 98adc98

Please sign in to comment.