From 5eb2a6b6812ec8906e9b2170d2ef3e30b172187a Mon Sep 17 00:00:00 2001 From: 3saster <43163391+3saster@users.noreply.github.com> Date: Wed, 17 Jul 2019 23:01:47 -0700 Subject: [PATCH] FPS counter no longer blocks level time on automap Respects HUD & Console scaling --- src/g_statusbar/shared_sbar.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/g_statusbar/shared_sbar.cpp b/src/g_statusbar/shared_sbar.cpp index 2a2bc7608..293edf355 100644 --- a/src/g_statusbar/shared_sbar.cpp +++ b/src/g_statusbar/shared_sbar.cpp @@ -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,