diff options
author | Aki <please@ignore.pl> | 2021-10-03 16:51:12 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-03 16:51:12 +0200 |
commit | 104248aabf40b692231fccd1adf1a2a494f1589a (patch) | |
tree | 5eee42a18a9688b03b483aff5c2bedffb4fe8a6c /Stars45/HUDView.cpp | |
parent | ddd76aa4e1571c8d5965709db5c3cd47a89c9a38 (diff) | |
parent | d2f333bf998691760b8970c2784756d0fa81e820 (diff) | |
download | starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.zip starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.gz starshatter-104248aabf40b692231fccd1adf1a2a494f1589a.tar.bz2 |
Stars45 can now be built under MSYS2/Mingw32
Diffstat (limited to 'Stars45/HUDView.cpp')
-rw-r--r-- | Stars45/HUDView.cpp | 7 |
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(); |