diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-04-14 16:24:31 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-04-14 16:24:31 +0200 |
commit | eb0b9f62557cdd840f5864a511a44ab57fc93664 (patch) | |
tree | 6b49646dec54a8040a61534d06b7aca78c2b0dd7 /src/vehicles/CarGen.cpp | |
parent | Added missing audio ctors (diff) | |
download | re3-eb0b9f62557cdd840f5864a511a44ab57fc93664.tar re3-eb0b9f62557cdd840f5864a511a44ab57fc93664.tar.gz re3-eb0b9f62557cdd840f5864a511a44ab57fc93664.tar.bz2 re3-eb0b9f62557cdd840f5864a511a44ab57fc93664.tar.lz re3-eb0b9f62557cdd840f5864a511a44ab57fc93664.tar.xz re3-eb0b9f62557cdd840f5864a511a44ab57fc93664.tar.zst re3-eb0b9f62557cdd840f5864a511a44ab57fc93664.zip |
Diffstat (limited to 'src/vehicles/CarGen.cpp')
-rw-r--r-- | src/vehicles/CarGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/CarGen.cpp b/src/vehicles/CarGen.cpp index 43f77fb7..c35005a1 100644 --- a/src/vehicles/CarGen.cpp +++ b/src/vehicles/CarGen.cpp @@ -216,7 +216,7 @@ void CTheCarGenerators::Init() void CTheCarGenerators::SaveAllCarGenerators(uint8 *buffer, uint32 *size) { const uint32 nGeneralDataSize = sizeof(NumOfCarGenerators) + sizeof(CurrentActiveCount) + sizeof(ProcessCounter) + sizeof(GenerateEvenIfPlayerIsCloseCounter) + sizeof(int16); - *size = sizeof(int) + nGeneralDataSize + sizeof(CarGeneratorArray) + SAVE_HEADER_SIZE; + *size = sizeof(int) + nGeneralDataSize + sizeof(uint32) + sizeof(CarGeneratorArray) + SAVE_HEADER_SIZE; INITSAVEBUF WriteSaveHeader(buffer, 'C','G','N','\0', *size - SAVE_HEADER_SIZE); |