summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-07-12 00:06:59 +0200
committerGitHub <noreply@github.com>2021-07-12 00:06:59 +0200
commita8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa (patch)
tree818b14e6e04d75a7f288eca6c66272a7fa0c4508 /src/vehicles/Automobile.cpp
parentUnite all sliders (diff)
parentfinish COMPATIBLE_SAVES and FIX_INCOMPATIBLE_SAVES (diff)
downloadre3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar
re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.gz
re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.bz2
re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.lz
re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.xz
re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.tar.zst
re3-a8fd3f828ab8ce67cf7df736af28fb6c61f0f1fa.zip
Diffstat (limited to 'src/vehicles/Automobile.cpp')
-rw-r--r--src/vehicles/Automobile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vehicles/Automobile.cpp b/src/vehicles/Automobile.cpp
index 3de3e12b..7d942dcd 100644
--- a/src/vehicles/Automobile.cpp
+++ b/src/vehicles/Automobile.cpp
@@ -4717,8 +4717,8 @@ void
CAutomobile::Save(uint8*& buf)
{
CVehicle::Save(buf);
- WriteSaveBuf<CDamageManager>(buf, Damage);
- SkipSaveBuf(buf, 800 - sizeof(CDamageManager));
+ WriteSaveBuf(buf, Damage);
+ ZeroSaveBuf(buf, 800 - sizeof(CDamageManager));
}
void