summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-18 18:45:11 +0200
committerGitHub <noreply@github.com>2020-10-18 18:45:11 +0200
commit70f9832e14ff452e81ae580a1a15b9d6f4bd63b6 (patch)
treec2a222cfdbb5d7ebcd9acf27920b7fa6da6918d1 /src/vehicles/Boat.cpp
parenttypo fixes (diff)
parentMerge pull request #772 from Nick007J/miami (diff)
downloadre3-70f9832e14ff452e81ae580a1a15b9d6f4bd63b6.tar
re3-70f9832e14ff452e81ae580a1a15b9d6f4bd63b6.tar.gz
re3-70f9832e14ff452e81ae580a1a15b9d6f4bd63b6.tar.bz2
re3-70f9832e14ff452e81ae580a1a15b9d6f4bd63b6.tar.lz
re3-70f9832e14ff452e81ae580a1a15b9d6f4bd63b6.tar.xz
re3-70f9832e14ff452e81ae580a1a15b9d6f4bd63b6.tar.zst
re3-70f9832e14ff452e81ae580a1a15b9d6f4bd63b6.zip
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r--src/vehicles/Boat.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index 8c9dd241..8b5de929 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -43,7 +43,7 @@ CBoat *CBoat::apFrameWakeGeneratingBoats[4];
const uint32 CBoat::nSaveStructSize =
#ifdef COMPATIBLE_SAVES
- 1156;
+ 1216;
#else
sizeof(CBoat);
#endif
@@ -893,7 +893,7 @@ CBoat::BlowUpCar(CEntity *culprit)
obj->m_fElasticity = 0.1f;
obj->m_fBuoyancy = obj->m_fMass*GRAVITY/0.75f;
obj->ObjectCreatedBy = TEMP_OBJECT;
- obj->bIsStatic = false;
+ obj->SetIsStatic(false);
obj->bIsPickup = false;
// life time
@@ -1449,13 +1449,13 @@ void
CBoat::Save(uint8*& buf)
{
CVehicle::Save(buf);
- SkipSaveBuf(buf, 1156 - 648);
+ SkipSaveBuf(buf, 1216 - 672);
}
void
CBoat::Load(uint8*& buf)
{
CVehicle::Load(buf);
- SkipSaveBuf(buf, 1156 - 648);
+ SkipSaveBuf(buf, 1216 - 672);
}
#endif