summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2019-10-13 06:20:00 +0200
committerGitHub <noreply@github.com>2019-10-13 06:20:00 +0200
commita0b62133514fa5d87836990af7f6102a6e0f827a (patch)
tree1fd3d9df72f8cb4895889e231922e313d0405f0d /src/vehicles
parentFix uninitialized orderInCat (diff)
parentPeds&fixes (diff)
downloadre3-a0b62133514fa5d87836990af7f6102a6e0f827a.tar
re3-a0b62133514fa5d87836990af7f6102a6e0f827a.tar.gz
re3-a0b62133514fa5d87836990af7f6102a6e0f827a.tar.bz2
re3-a0b62133514fa5d87836990af7f6102a6e0f827a.tar.lz
re3-a0b62133514fa5d87836990af7f6102a6e0f827a.tar.xz
re3-a0b62133514fa5d87836990af7f6102a6e0f827a.tar.zst
re3-a0b62133514fa5d87836990af7f6102a6e0f827a.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Floater.h2
-rw-r--r--src/vehicles/Vehicle.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/vehicles/Floater.h b/src/vehicles/Floater.h
index 0a2ae809..4754a235 100644
--- a/src/vehicles/Floater.h
+++ b/src/vehicles/Floater.h
@@ -35,7 +35,7 @@ public:
float m_volumeUnderWater;
CVector m_impulsePoint;
- bool ProcessBuoyancy(CPhysical *phys, float buoyancy, CVector *impulse, CVector *point);
+ bool ProcessBuoyancy(CPhysical *phys, float buoyancy, CVector *point, CVector *impulse);
void PreCalcSetup(CPhysical *phys, float buoyancy);
void SimpleCalcBuoyancy(void);
float SimpleSumBuoyancyData(CVector &waterLevel, tWaterLevel waterPosition);
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index ffc2ca45..a30f9842 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -266,7 +266,6 @@ public:
bool ShufflePassengersToMakeSpace(void);
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }
- bool IsWrecked(void) { return m_status == STATUS_WRECKED; }
CVehicleModelInfo* GetModelInfo() { return (CVehicleModelInfo*)CModelInfo::GetModelInfo(GetModelIndex()); }
static bool &bWheelsOnlyCheat;