Redo ReadSaveBuf + common.h cleanup

This commit is contained in:
Sergeanur
2021-06-25 19:03:05 +03:00
parent 6152f02333
commit 2b67aba94c
26 changed files with 398 additions and 337 deletions

View File

@ -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);
}