From c4d8f11ded765f5f762b1b2bbf10fac952730bbe Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 18 Mar 2022 01:24:57 +0100 Subject: Fixed FPS counter --- Stars45/Mfd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Stars45/Mfd.cpp') diff --git a/Stars45/Mfd.cpp b/Stars45/Mfd.cpp index 58a5a4d..cf50bd9 100644 --- a/Stars45/Mfd.cpp +++ b/Stars45/Mfd.cpp @@ -1087,7 +1087,7 @@ MFD::DrawGameMFD() int t = 0; if (!HUDView::IsArcade() && HUDView::ShowFPS()) { - sprintf_s(txt, "FPS: %6.2f", Game::GetInstance()->FrameRate()); + sprintf_s(txt, "FPS: %6.2f", Game::GetInstance()->GetClock()->Rate()); DrawMFDText(t++, txt, txt_rect, DT_LEFT); txt_rect.y += 10; -- cgit v1.1