diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-01 20:23:09 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-05-01 20:23:09 +0200 |
commit | 026ed72bfc6ce52cf614d739b9f40c8092c47036 (patch) | |
tree | e6ec1df25a3cde60b43ca17f60d328e79177c399 /src/core/Radar.cpp | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | Merge pull request #501 from erorcun/erorcun (diff) | |
download | re3-026ed72bfc6ce52cf614d739b9f40c8092c47036.tar re3-026ed72bfc6ce52cf614d739b9f40c8092c47036.tar.gz re3-026ed72bfc6ce52cf614d739b9f40c8092c47036.tar.bz2 re3-026ed72bfc6ce52cf614d739b9f40c8092c47036.tar.lz re3-026ed72bfc6ce52cf614d739b9f40c8092c47036.tar.xz re3-026ed72bfc6ce52cf614d739b9f40c8092c47036.tar.zst re3-026ed72bfc6ce52cf614d739b9f40c8092c47036.zip |
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r-- | src/core/Radar.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp index 2b3e6f1e..3d1429bd 100644 --- a/src/core/Radar.cpp +++ b/src/core/Radar.cpp @@ -1064,6 +1064,13 @@ void CRadar::SaveAllRadarBlips(uint8 *buf, uint32 *size) INITSAVEBUF WriteSaveHeader(buf, 'R', 'D', 'R', '\0', *size - SAVE_HEADER_SIZE); +#ifdef MENU_MAP + if (TargetMarkerId != -1) { + ClearBlip(TargetMarkerId); + TargetMarkerId = -1; + } +#endif + for (int i = 0; i < NUMRADARBLIPS; i++) WriteSaveBuf(buf, ms_RadarTrace[i]); |