diff options
author | Aki <please@ignore.pl> | 2022-03-18 01:24:57 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-03-18 01:24:57 +0100 |
commit | c4d8f11ded765f5f762b1b2bbf10fac952730bbe (patch) | |
tree | 57a18742ed865d10ce8835421b6c3264a20bf902 /Stars45/Mfd.cpp | |
parent | 2d6958e78d7713e3e7f1ddd7c58f036e6e19a936 (diff) | |
download | starshatter-c4d8f11ded765f5f762b1b2bbf10fac952730bbe.zip starshatter-c4d8f11ded765f5f762b1b2bbf10fac952730bbe.tar.gz starshatter-c4d8f11ded765f5f762b1b2bbf10fac952730bbe.tar.bz2 |
Fixed FPS counter
Diffstat (limited to 'Stars45/Mfd.cpp')
-rw-r--r-- | Stars45/Mfd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |