summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-10-18 16:30:51 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-10-18 16:30:51 +0200
commitd7789661cda9c07988834aa9c6c53d5cee888612 (patch)
treeb17c3aa13c73ea0f21d645962dccea83486d9dc7 /src/vehicles/Boat.cpp
parentfix in ped attractor (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-d7789661cda9c07988834aa9c6c53d5cee888612.tar
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.gz
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.bz2
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.lz
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.xz
re3-d7789661cda9c07988834aa9c6c53d5cee888612.tar.zst
re3-d7789661cda9c07988834aa9c6c53d5cee888612.zip
Diffstat (limited to 'src/vehicles/Boat.cpp')
-rw-r--r--src/vehicles/Boat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Boat.cpp b/src/vehicles/Boat.cpp
index dfb3dade..8b5de929 100644
--- a/src/vehicles/Boat.cpp
+++ b/src/vehicles/Boat.cpp
@@ -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