mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- 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:
parent
bcc1aa95b2
commit
bd1f5d9750
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue