summaryrefslogtreecommitdiffhomepage
path: root/Stars45/HUDView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/HUDView.cpp')
-rw-r--r--Stars45/HUDView.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Stars45/HUDView.cpp b/Stars45/HUDView.cpp
index 01a0c94..4521c06 100644
--- a/Stars45/HUDView.cpp
+++ b/Stars45/HUDView.cpp
@@ -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();