mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 04:20:00 +00:00
fixed linux saving
This commit is contained in:
parent
2016cd54b0
commit
408f47fc9d
|
@ -404,7 +404,7 @@ inline T *WriteSaveBuf(uint8 *&buf, const T &value)
|
|||
WriteSaveBuf(buf, b);\
|
||||
WriteSaveBuf(buf, c);\
|
||||
WriteSaveBuf(buf, d);\
|
||||
WriteSaveBuf(buf, size);
|
||||
WriteSaveBuf<uint32>(buf, size);
|
||||
|
||||
#define CheckSaveHeader(buf,a,b,c,d,size)\
|
||||
assert(ReadSaveBuf<char>(buf) == a);\
|
||||
|
|
|
@ -226,7 +226,7 @@ INITSAVEBUF
|
|||
WriteSaveBuf(buffer, ProcessCounter);
|
||||
WriteSaveBuf(buffer, GenerateEvenIfPlayerIsCloseCounter);
|
||||
WriteSaveBuf(buffer, (int16)0); // alignment
|
||||
WriteSaveBuf(buffer, sizeof(CarGeneratorArray));
|
||||
WriteSaveBuf(buffer, (uint32)sizeof(CarGeneratorArray));
|
||||
for (int i = 0; i < NUM_CARGENS; i++)
|
||||
WriteSaveBuf(buffer, CarGeneratorArray[i]);
|
||||
VALIDATESAVEBUF(*size)
|
||||
|
|
Loading…
Reference in a new issue