summaryrefslogtreecommitdiffstats
path: root/src/vehicles
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-08-13 00:30:31 +0200
committereray orçunus <erayorcunus@gmail.com>2019-08-13 00:30:31 +0200
commite5d089db8826b2bfe163b714146fda1ff92a5896 (patch)
treeb0ce2c8b96829c1c5375ace7218e6aabd426097a /src/vehicles
parentMerge pull request #187 from erorcun/erorcun (diff)
downloadre3-e5d089db8826b2bfe163b714146fda1ff92a5896.tar
re3-e5d089db8826b2bfe163b714146fda1ff92a5896.tar.gz
re3-e5d089db8826b2bfe163b714146fda1ff92a5896.tar.bz2
re3-e5d089db8826b2bfe163b714146fda1ff92a5896.tar.lz
re3-e5d089db8826b2bfe163b714146fda1ff92a5896.tar.xz
re3-e5d089db8826b2bfe163b714146fda1ff92a5896.tar.zst
re3-e5d089db8826b2bfe163b714146fda1ff92a5896.zip
Diffstat (limited to 'src/vehicles')
-rw-r--r--src/vehicles/Vehicle.cpp1
-rw-r--r--src/vehicles/Vehicle.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/vehicles/Vehicle.cpp b/src/vehicles/Vehicle.cpp
index 16863b7a..5d63b4df 100644
--- a/src/vehicles/Vehicle.cpp
+++ b/src/vehicles/Vehicle.cpp
@@ -30,6 +30,7 @@ void *CVehicle::operator new(size_t sz, int handle) { return CPools::GetVehicleP
void CVehicle::operator delete(void *p, size_t sz) { CPools::GetVehiclePool()->Delete((CVehicle*)p); }
void CVehicle::operator delete(void *p, int handle) { CPools::GetVehiclePool()->Delete((CVehicle*)p); }
+WRAPPER bool CVehicle::ShufflePassengersToMakeSpace(void) { EAXJMP(0x5528A0); }
// or Weapon.cpp?
WRAPPER void FireOneInstantHitRound(CVector *shotSource, CVector *shotTarget, int32 damage) { EAXJMP(0x563B00); }
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index 386c7130..357e5603 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -266,6 +266,7 @@ public:
void RemoveDriver(void);
void ProcessCarAlarm(void);
bool IsSphereTouchingVehicle(float sx, float sy, float sz, float radius);
+ bool ShufflePassengersToMakeSpace(void);
bool IsAlarmOn(void) { return m_nAlarmState != 0 && m_nAlarmState != -1; }