summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/Mfd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/Mfd.cpp')
-rw-r--r--StarsEx/Mfd.cpp4
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;
}