diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-21 17:15:30 +0300 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-08-21 17:15:30 +0300 |
commit | f86bdb2cdb2256a9348001e230c9c8eb6fe76e8e (patch) | |
tree | 73e5d31966ede8d5fd6f283234ff3416d555f368 /src/core | |
parent | e33b56b49af7b9ba1b848e38e4aff3f88bc2e362 (diff) |
Fix map teleport Z coordinate
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/Radar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp index d74ce007..b29c19eb 100644 --- a/src/core/Radar.cpp +++ b/src/core/Radar.cpp @@ -1550,7 +1550,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, CWorld::FindGroundZForCoord(x,y)); TargetMarkerPos = pos; ms_RadarTrace[nextBlip].m_vec2DPos = pos; ms_RadarTrace[nextBlip].m_vecPos = pos; |