diff options
author | Aki <please@ignore.pl> | 2022-04-03 17:24:16 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2022-04-03 17:24:16 +0200 |
commit | cd57c84c5fe34c2ac548d6d119a9828a303923ef (patch) | |
tree | aac3545bcb95bf0d30b8b356c91adc492c07d3a6 /StarsEx/Mfd.cpp | |
parent | 150bd957db8eb19b1a07643317767ff5c3007f48 (diff) | |
download | starshatter-cd57c84c5fe34c2ac548d6d119a9828a303923ef.zip starshatter-cd57c84c5fe34c2ac548d6d119a9828a303923ef.tar.gz starshatter-cd57c84c5fe34c2ac548d6d119a9828a303923ef.tar.bz2 |
Removed video stats in Game
Diffstat (limited to 'StarsEx/Mfd.cpp')
-rw-r--r-- | StarsEx/Mfd.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/StarsEx/Mfd.cpp b/StarsEx/Mfd.cpp index f79f2af..15731d8 100644 --- a/StarsEx/Mfd.cpp +++ b/StarsEx/Mfd.cpp @@ -25,7 +25,6 @@ #include "WeaponGroup.h" #include "Sim.h" #include "StarSystem.h" -#include "Starshatter.h" #include "Drive.h" #include "QuantumDrive.h" #include "Power.h" @@ -1093,8 +1092,7 @@ MFD::DrawGameMFD() if (lines <= 1) return; - Starshatter* game = Starshatter::GetInstance(); - sprintf_s(txt, "Polys: %d", game->GetPolyStats().npolys); + sprintf_s(txt, "Polys: %d", Video::GetInstance()->GetStats().npolys); DrawMFDText(t++, txt, txt_rect, DT_LEFT); txt_rect.y += 10; } |