summaryrefslogtreecommitdiffstats
path: root/src/peds/Ped.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-29 19:18:03 +0200
committeraap <aap@papnet.eu>2019-07-31 14:33:27 +0200
commit5f6b235301f734b73f8307cf3e29997e7f76eac8 (patch)
tree73037842a302ae6e888e365b32e8ce74287e3f8d /src/peds/Ped.cpp
parentMerge pull request #175 from erorcun/erorcun (diff)
parentrestore original shadows fading (diff)
downloadre3-5f6b235301f734b73f8307cf3e29997e7f76eac8.tar
re3-5f6b235301f734b73f8307cf3e29997e7f76eac8.tar.gz
re3-5f6b235301f734b73f8307cf3e29997e7f76eac8.tar.bz2
re3-5f6b235301f734b73f8307cf3e29997e7f76eac8.tar.lz
re3-5f6b235301f734b73f8307cf3e29997e7f76eac8.tar.xz
re3-5f6b235301f734b73f8307cf3e29997e7f76eac8.tar.zst
re3-5f6b235301f734b73f8307cf3e29997e7f76eac8.zip
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r--src/peds/Ped.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index f8b44301..fc01a36d 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -79,7 +79,7 @@ CPed::~CPed(void)
CWorld::Remove(this);
CRadar::ClearBlipForEntity(BLIP_CHAR, CPools::GetPedPool()->GetIndex(this));
if (bInVehicle && m_pMyVehicle){
- uint8 door_flag = GetVehDoorFlag(m_vehEnterType);
+ uint8 door_flag = GetCarDoorFlag(m_vehEnterType);
if (m_pMyVehicle->pDriver == this)
m_pMyVehicle->pDriver = nil;
else {
@@ -1415,7 +1415,7 @@ CPed::PedSetDraggedOutCarCB(CAnimBlendAssociation *dragAssoc, void *arg)
ped->m_pSeekTarget = nil;
vehicle = ped->m_pMyVehicle;
- vehicle->m_nGettingOutFlags &= ~GetVehDoorFlag(ped->m_vehEnterType);
+ vehicle->m_nGettingOutFlags &= ~GetCarDoorFlag(ped->m_vehEnterType);
if (vehicle->pDriver == ped) {
vehicle->RemoveDriver();
@@ -2725,7 +2725,7 @@ CPed::QuitEnteringCar(void)
if (veh->m_nNumGettingIn != 0)
veh->m_nNumGettingIn--;
- veh->m_nGettingInFlags &= ~GetVehDoorFlag(m_vehEnterType);
+ veh->m_nGettingInFlags &= ~GetCarDoorFlag(m_vehEnterType);
}
bUsesCollision = true;