mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-25 13:23:43 +00:00
Fix map teleport Z coordinate
This commit is contained in:
parent
e33b56b49a
commit
f86bdb2cdb
1 changed files with 1 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ CRadar::ToggleTargetMarker(float x, float y)
|
||||||
ms_RadarTrace[nextBlip].m_bDim = 0;
|
ms_RadarTrace[nextBlip].m_bDim = 0;
|
||||||
ms_RadarTrace[nextBlip].m_bInUse = 1;
|
ms_RadarTrace[nextBlip].m_bInUse = 1;
|
||||||
ms_RadarTrace[nextBlip].m_Radius = 1.0f;
|
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;
|
TargetMarkerPos = pos;
|
||||||
ms_RadarTrace[nextBlip].m_vec2DPos = pos;
|
ms_RadarTrace[nextBlip].m_vec2DPos = pos;
|
||||||
ms_RadarTrace[nextBlip].m_vecPos = pos;
|
ms_RadarTrace[nextBlip].m_vecPos = pos;
|
||||||
|
|
Loading…
Reference in a new issue