diff options
author | eray orçunus <erayorcunus@gmail.com> | 2019-10-13 06:05:08 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2019-10-13 06:17:53 +0200 |
commit | 0562a6e983dd94a4f31286f4e8b3756f758a5068 (patch) | |
tree | 1fd3d9df72f8cb4895889e231922e313d0405f0d /src/vehicles | |
parent | Fix uninitialized orderInCat (diff) | |
download | re3-0562a6e983dd94a4f31286f4e8b3756f758a5068.tar re3-0562a6e983dd94a4f31286f4e8b3756f758a5068.tar.gz re3-0562a6e983dd94a4f31286f4e8b3756f758a5068.tar.bz2 re3-0562a6e983dd94a4f31286f4e8b3756f758a5068.tar.lz re3-0562a6e983dd94a4f31286f4e8b3756f758a5068.tar.xz re3-0562a6e983dd94a4f31286f4e8b3756f758a5068.tar.zst re3-0562a6e983dd94a4f31286f4e8b3756f758a5068.zip |
Diffstat (limited to '')
-rw-r--r-- | src/vehicles/Floater.h | 2 | ||||
-rw-r--r-- | src/vehicles/Vehicle.h | 1 |
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; |