diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-06-07 03:15:10 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-06-07 03:15:10 +0200 |
commit | 1c0189979965cb237aa5fb300a5522e1408123ac (patch) | |
tree | 791f188c7d4f87111bf3235b87f4b74e2fbebf9e /src/vehicles/CarGen.cpp | |
parent | CBike done (diff) | |
parent | FONT_BANK renamed to FONT_STANDARD (diff) | |
download | re3-1c0189979965cb237aa5fb300a5522e1408123ac.tar re3-1c0189979965cb237aa5fb300a5522e1408123ac.tar.gz re3-1c0189979965cb237aa5fb300a5522e1408123ac.tar.bz2 re3-1c0189979965cb237aa5fb300a5522e1408123ac.tar.lz re3-1c0189979965cb237aa5fb300a5522e1408123ac.tar.xz re3-1c0189979965cb237aa5fb300a5522e1408123ac.tar.zst re3-1c0189979965cb237aa5fb300a5522e1408123ac.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 e6c3bbf3..574f2854 100644 --- a/src/vehicles/CarGen.cpp +++ b/src/vehicles/CarGen.cpp @@ -264,7 +264,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) |