diff options
author | withmorten <morten.with@gmail.com> | 2021-06-26 19:14:46 +0200 |
---|---|---|
committer | withmorten <morten.with@gmail.com> | 2021-06-26 19:14:46 +0200 |
commit | f3a931e1c99372ae4bc224ef482d4052a09580cb (patch) | |
tree | 13992380234e68b8f1a32030b4df6aa3d6ebbaca /src/core/Radar.cpp | |
parent | Merge pull request #1155 from leanndroguedes/master (diff) | |
download | re3-f3a931e1c99372ae4bc224ef482d4052a09580cb.tar re3-f3a931e1c99372ae4bc224ef482d4052a09580cb.tar.gz re3-f3a931e1c99372ae4bc224ef482d4052a09580cb.tar.bz2 re3-f3a931e1c99372ae4bc224ef482d4052a09580cb.tar.lz re3-f3a931e1c99372ae4bc224ef482d4052a09580cb.tar.xz re3-f3a931e1c99372ae4bc224ef482d4052a09580cb.tar.zst re3-f3a931e1c99372ae4bc224ef482d4052a09580cb.zip |
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r-- | src/core/Radar.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp index 8f2c1747..77d6cc7f 100644 --- a/src/core/Radar.cpp +++ b/src/core/Radar.cpp @@ -16,6 +16,7 @@ #include "Script.h" #include "TxdStore.h" #include "World.h" +#include "SaveBuf.h" #include "Streaming.h" #include "SpecialFX.h" @@ -1055,7 +1056,7 @@ INITSAVEBUF CheckSaveHeader(buf, 'R', 'D', 'R', '\0', size - SAVE_HEADER_SIZE); for (int i = 0; i < NUMRADARBLIPS; i++) - ms_RadarTrace[i] = ReadSaveBuf<sRadarTrace>(buf); + ReadSaveBuf(&ms_RadarTrace[i], buf); VALIDATESAVEBUF(size); } |