summaryrefslogtreecommitdiffhomepage
path: root/Stars45/HUDView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/HUDView.cpp')
-rw-r--r--Stars45/HUDView.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/Stars45/HUDView.cpp b/Stars45/HUDView.cpp
index 392ba3e..4521c06 100644
--- a/Stars45/HUDView.cpp
+++ b/Stars45/HUDView.cpp
@@ -201,7 +201,7 @@ static int tgt_status = System::NOMINAL;
// +--------------------------------------------------------------------+
-static enum TXT {
+enum TXT {
MAX_CONTACT = 50,
TXT_CAUTION_TXT = 0,
@@ -1361,7 +1361,10 @@ HUDView::DrawBars()
int align = DT_LEFT;
if (Game::Paused())
- DrawHUDText(TXT_PAUSED, Game::GetText("HUDView.PAUSED"), Rect(cx-128, cy-60, 256, 12), DT_CENTER);
+ {
+ Rect pause_rect = Rect(cx - 128, cy - 60, 256, 12);
+ DrawHUDText(TXT_PAUSED, Game::GetText("HUDView.PAUSED"), pause_rect, DT_CENTER);
+ }
if (ship) {
DrawContactMarkers();