mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
FPS counter no longer blocks level time on automap
Respects HUD & Console scaling
This commit is contained in:
parent
9219834a1a
commit
5eb2a6b681
1 changed files with 1 additions and 0 deletions
|
@ -617,6 +617,7 @@ void DBaseStatusBar::DoDrawAutomapHUD(int crdefault, int highlight)
|
|||
|
||||
if (am_showtime)
|
||||
{
|
||||
if (vid_fps) y += (NewConsoleFont->GetHeight() * active_con_scale() + 5) / scale;
|
||||
sec = Tics2Seconds(primaryLevel->time);
|
||||
textbuffer.Format("%02d:%02d:%02d", sec / 3600, (sec % 3600) / 60, sec % 60);
|
||||
screen->DrawText(font, crdefault, vwidth - zerowidth * 8 - textdist, y, textbuffer, DTA_VirtualWidth, vwidth, DTA_VirtualHeight, vheight,
|
||||
|
|
Loading…
Reference in a new issue