diff options
Diffstat (limited to '')
-rw-r--r-- | src/save/GenericGameStorage.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/save/GenericGameStorage.cpp b/src/save/GenericGameStorage.cpp index dbd12cc6..412a0c94 100644 --- a/src/save/GenericGameStorage.cpp +++ b/src/save/GenericGameStorage.cpp @@ -828,6 +828,13 @@ FixGarages(uint8 save_type, uint8 *buf, uint8 *buf2, uint32 *size) SkipBuf(buf2, sizeof(CStoredCar)); } + + *size = 0; + + assert(buf - buf_start == read); + assert(buf2 - buf2_start == written); + + *size = 7876; } static void |