- start the HUD message ticker at -1 to compensate for the additional tick they now receive due to the change at which time the status bar gets ticked.

This commit is contained in:
Christoph Oelckers 2019-02-08 08:58:16 +01:00
parent bcc1aa95b2
commit bd1f5d9750
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ DHUDMessage::DHUDMessage (FFont *font, const char *text, float x, float y, int h
HandleAspect = true; HandleAspect = true;
Top = y; Top = y;
HoldTics = (int)(holdTime * TICRATE); HoldTics = (int)(holdTime * TICRATE);
Tics = 0; Tics = -1; // -1 to compensate for one additional Tick the message will receive.
TextColor = textColor; TextColor = textColor;
State = 0; State = 0;
SourceText = copystring (text); SourceText = copystring (text);