summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Font.cpp')
-rw-r--r--Stars45/Font.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Stars45/Font.cpp b/Stars45/Font.cpp
index 3d30d29..fdb710c 100644
--- a/Stars45/Font.cpp
+++ b/Stars45/Font.cpp
@@ -18,7 +18,6 @@
#include "DataLoader.h"
#include "ParseUtil.h"
#include "Video.h"
-#include "Game.h"
#include "Clock.h"
// +--------------------------------------------------------------------+
@@ -643,7 +642,7 @@ Font::DrawText(const char* text, int count, Rect& text_rect, DWORD flags, Bitmap
// otherwise, draw caret if requested:
else if (caret_index >= 0 && caret_y >= text_rect.y && caret_y <= text_rect.y + text_rect.h) {//caret_y + height < text_rect.y + text_rect.h) {
Video* video = Video::GetInstance();
- Clock* clock = Game::GetInstance()->GetClock();
+ Clock* clock = Clock::GetInstance();
if (video && (clock->RealTime() / 500) & 1) {
float v[4];