Begin TICRATE conversion.

- Moved TICRATE from Thinker to Object in ZScript so status bars have access to it.
This commit is contained in:
Major Cooke 2020-04-12 15:10:41 -05:00 committed by Christoph Oelckers
commit a56177f178
10 changed files with 23 additions and 22 deletions

View file

@ -695,7 +695,7 @@ void P_DrawRailTrail(AActor *source, TArray<SPortalHit> &portalhits, int color1,
if (!p)
return;
int spiralduration = (duration == 0) ? 35 : duration;
int spiralduration = (duration == 0) ? TICRATE : duration;
p->alpha = 1.f;
p->ttl = spiralduration;