summaryrefslogtreecommitdiffstats
path: root/src/vehicles/CarGen.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-06-06 11:58:10 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-06-06 11:58:10 +0200
commit408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8 (patch)
tree72832cf089e0b26dc6e0585d7c999604421878e2 /src/vehicles/CarGen.cpp
parentps2 audio banks (diff)
downloadre3-408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8.tar
re3-408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8.tar.gz
re3-408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8.tar.bz2
re3-408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8.tar.lz
re3-408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8.tar.xz
re3-408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8.tar.zst
re3-408f47fc9d85e930f2dc1a4cc9f50b3c0d4c60b8.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 72b6c30c..cb21b918 100644
--- a/src/vehicles/CarGen.cpp
+++ b/src/vehicles/CarGen.cpp
@@ -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)