summaryrefslogtreecommitdiffstats
path: root/src/core/Radar.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-26 20:14:26 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-26 20:14:26 +0200
commit915888d2752cd78a6a64735d3856ac0c4d7153d2 (patch)
tree4b0a7b20ee6d50a9d6e3515858563b1cc31f26dc /src/core/Radar.cpp
parentkeep noinline only for broken vs versions (diff)
downloadre3-915888d2752cd78a6a64735d3856ac0c4d7153d2.tar
re3-915888d2752cd78a6a64735d3856ac0c4d7153d2.tar.gz
re3-915888d2752cd78a6a64735d3856ac0c4d7153d2.tar.bz2
re3-915888d2752cd78a6a64735d3856ac0c4d7153d2.tar.lz
re3-915888d2752cd78a6a64735d3856ac0c4d7153d2.tar.xz
re3-915888d2752cd78a6a64735d3856ac0c4d7153d2.tar.zst
re3-915888d2752cd78a6a64735d3856ac0c4d7153d2.zip
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r--src/core/Radar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp
index 7e3a75b3..4e15559d 100644
--- a/src/core/Radar.cpp
+++ b/src/core/Radar.cpp
@@ -1504,7 +1504,7 @@ CRadar::ToggleTargetMarker(float x, float y)
ms_RadarTrace[nextBlip].m_bDim = 0;
ms_RadarTrace[nextBlip].m_bInUse = 1;
ms_RadarTrace[nextBlip].m_Radius = 1.0f;
- CVector pos(x, y, 0.0f/*CWorld::FindGroundZForCoord(x,y)*/);
+ CVector pos(x, y, 0.0f);
TargetMarkerPos = pos;
ms_RadarTrace[nextBlip].m_vec2DPos = pos;
ms_RadarTrace[nextBlip].m_vecPos = pos;