diff options
author | erorcun <erayorcunus@gmail.com> | 2020-10-18 18:37:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 18:37:49 +0200 |
commit | 497c1792455a13f7ea0750274c9ba4b3e26830db (patch) | |
tree | ce2c434d0aba2a12b27d04d9ccf70502f05cf4c5 /src/core/Radar.cpp | |
parent | Merge branch 'miami' of https://github.com/GTAmodding/re3 into miami (diff) | |
parent | fix in ped attractor (diff) | |
download | re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.gz re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.bz2 re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.lz re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.xz re3-497c1792455a13f7ea0750274c9ba4b3e26830db.tar.zst re3-497c1792455a13f7ea0750274c9ba4b3e26830db.zip |
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r-- | src/core/Radar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp index 4556e3b4..8fe900ae 100644 --- a/src/core/Radar.cpp +++ b/src/core/Radar.cpp @@ -924,6 +924,7 @@ INITSAVEBUF for (int i = 0; i < NUMRADARBLIPS; i++) { ms_RadarTrace[i].m_nColor = ReadSaveBuf<uint32>(buf); + ms_RadarTrace[i].m_Radius = ReadSaveBuf<float>(buf); ms_RadarTrace[i].m_eBlipType = ReadSaveBuf<uint32>(buf); ms_RadarTrace[i].m_nEntityHandle = ReadSaveBuf<int32>(buf); ms_RadarTrace[i].m_vec2DPos.x = ReadSaveBuf<float>(buf); // CVector2D @@ -934,7 +935,6 @@ INITSAVEBUF ms_RadarTrace[i].m_bInUse = ReadSaveBuf<bool>(buf); ms_RadarTrace[i].m_bShortRange = ReadSaveBuf<bool>(buf); ms_RadarTrace[i].m_unused = ReadSaveBuf<bool>(buf); - ms_RadarTrace[i].m_Radius = ReadSaveBuf<float>(buf); ms_RadarTrace[i].m_wScale = ReadSaveBuf<int16>(buf); ms_RadarTrace[i].m_eBlipDisplay = ReadSaveBuf<uint16>(buf); ms_RadarTrace[i].m_eRadarSprite = ReadSaveBuf<uint16>(buf); @@ -961,6 +961,7 @@ INITSAVEBUF sRadarTraceSave *saveStruct = (sRadarTraceSave*) buf; saveStruct->m_nColor = ms_RadarTrace[i].m_nColor; + saveStruct->m_Radius = ms_RadarTrace[i].m_Radius; saveStruct->m_eBlipType = ms_RadarTrace[i].m_eBlipType; saveStruct->m_nEntityHandle = ms_RadarTrace[i].m_nEntityHandle; saveStruct->m_vec2DPos = ms_RadarTrace[i].m_vec2DPos; @@ -970,7 +971,6 @@ INITSAVEBUF saveStruct->m_bInUse = ms_RadarTrace[i].m_bInUse; saveStruct->m_bShortRange = ms_RadarTrace[i].m_bShortRange; saveStruct->m_unused = ms_RadarTrace[i].m_unused; - saveStruct->m_Radius = ms_RadarTrace[i].m_Radius; saveStruct->m_wScale = ms_RadarTrace[i].m_wScale; saveStruct->m_eBlipDisplay = ms_RadarTrace[i].m_eBlipDisplay; saveStruct->m_eRadarSprite = ms_RadarTrace[i].m_eRadarSprite; |