mirror of
https://github.com/halpz/re3.git
synced 2024-12-22 17:35:29 +00:00
Fix map teleport Z coordinate
This commit is contained in:
parent
e33b56b49a
commit
f86bdb2cdb
|
@ -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