Skip to content

Commit

Permalink
- start the HUD message ticker at -1 to compensate for the additional…
Browse files Browse the repository at this point in the history
… tick they now receive due to the change at which time the status bar gets ticked.
  • Loading branch information
coelckers committed Feb 8, 2019
1 parent bcc1aa9 commit bd1f5d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g_statusbar/hudmessages.cpp
Expand Up @@ -195,7 +195,7 @@ DHUDMessage::DHUDMessage (FFont *font, const char *text, float x, float y, int h
HandleAspect = true;
Top = y;
HoldTics = (int)(holdTime * TICRATE);
Tics = 0;
Tics = -1; // -1 to compensate for one additional Tick the message will receive.
TextColor = textColor;
State = 0;
SourceText = copystring (text);
Expand Down

0 comments on commit bd1f5d9

Please sign in to comment.