summaryrefslogtreecommitdiffstats
path: root/src/vehicles/CarGen.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-07 03:15:10 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-07 03:15:10 +0200
commit1c0189979965cb237aa5fb300a5522e1408123ac (patch)
tree791f188c7d4f87111bf3235b87f4b74e2fbebf9e /src/vehicles/CarGen.cpp
parentCBike done (diff)
parentFONT_BANK renamed to FONT_STANDARD (diff)
downloadre3-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.cpp2
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)