summaryrefslogtreecommitdiff
path: root/src/core/Radar.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-06-26 00:25:59 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-06-26 00:25:59 +0300
commitaf7573ddbe38e0aaa485877e7ccb2e704b0f5a7f (patch)
tree75a719bb1ab82b354f464562ecc1fae9c55f64d0 /src/core/Radar.cpp
parent4bab6d5356fe62c2166dbabc504792a510df7819 (diff)
Revert "Redo ReadSaveBuf + common.h cleanup"
This reverts commit 2b67aba94cb6448fb24c869559465eddf2bad069.
Diffstat (limited to 'src/core/Radar.cpp')
-rw-r--r--src/core/Radar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/Radar.cpp b/src/core/Radar.cpp
index 77d6cc7f..8f2c1747 100644
--- a/src/core/Radar.cpp
+++ b/src/core/Radar.cpp
@@ -16,7 +16,6 @@
#include "Script.h"
#include "TxdStore.h"
#include "World.h"
-#include "SaveBuf.h"
#include "Streaming.h"
#include "SpecialFX.h"
@@ -1056,7 +1055,7 @@ INITSAVEBUF
CheckSaveHeader(buf, 'R', 'D', 'R', '\0', size - SAVE_HEADER_SIZE);
for (int i = 0; i < NUMRADARBLIPS; i++)
- ReadSaveBuf(&ms_RadarTrace[i], buf);
+ ms_RadarTrace[i] = ReadSaveBuf<sRadarTrace>(buf);
VALIDATESAVEBUF(size);
}