summaryrefslogtreecommitdiffstats
path: root/src/core/Radar.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-05-09 12:43:08 +0200
committereray orçunus <erayorcunus@gmail.com>2020-05-09 12:58:31 +0200
commitb80c4bae6be24ff7f261238a36e4c0c5519bef5f (patch)
tree36f82233c2627587b4d21d590b0350b4d3125b95 /src/core/Radar.cpp
parentMerge pull request #526 from Nick007J/miami (diff)
downloadre3-b80c4bae6be24ff7f261238a36e4c0c5519bef5f.tar
re3-b80c4bae6be24ff7f261238a36e4c0c5519bef5f.tar.gz
re3-b80c4bae6be24ff7f261238a36e4c0c5519bef5f.tar.bz2
re3-b80c4bae6be24ff7f261238a36e4c0c5519bef5f.tar.lz
re3-b80c4bae6be24ff7f261238a36e4c0c5519bef5f.tar.xz
re3-b80c4bae6be24ff7f261238a36e4c0c5519bef5f.tar.zst
re3-b80c4bae6be24ff7f261238a36e4c0c5519bef5f.zip
Diffstat (limited to '')
-rw-r--r--src/core/Radar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp
index 7e3d0083..9406f1bd 100644
--- a/src/core/Radar.cpp
+++ b/src/core/Radar.cpp
@@ -1435,9 +1435,9 @@ CRadar::DrawYouAreHereSprite(float x, float y)
if (show) {
float left = x - SCREEN_SCALE_X(12.0f);
- float top = y - SCREEN_SCALE_Y(2.0f);
+ float top = y;
float right = SCREEN_SCALE_X(12.0) + x;
- float bottom = y - SCREEN_SCALE_Y(26.0f);
+ float bottom = y - SCREEN_SCALE_Y(24.0f);
CentreSprite.Draw(CRect(left, top, right, bottom), CRGBA(255, 255, 255, 255));
}
MapLegendList[MapLegendCounter++] = RADAR_SPRITE_CENTRE;