summaryrefslogtreecommitdiff
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorwithmorten <morten.with@gmail.com>2021-07-07 17:34:02 +0200
committerwithmorten <morten.with@gmail.com>2021-07-10 02:06:43 +0200
commit6f103a3b8246ed4a883abaea63c6682cdefc6752 (patch)
tree0a647e32813ec2990b3b3ecc647acfc8bb26c8dc /src/vehicles/Automobile.cpp
parent72f67809059c732588ac29eedf8a10f9156b27b4 (diff)
finish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r--src/vehicles/Automobile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 8a50ddcf..5e2b0c10 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -5871,7 +5871,7 @@ CAutomobile::Save(uint8*& buf)
{
CVehicle::Save(buf);
WriteSaveBuf(buf, Damage);
- SkipSaveBuf(buf, 1500 - 672 - sizeof(CDamageManager));
+ ZeroSaveBuf(buf, 1500 - 672 - sizeof(CDamageManager));
}
void