diff options
author | aap <aap@papnet.eu> | 2021-01-13 13:01:20 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 13:01:20 +0100 |
commit | e3a261d29cbb10abc0776ca697512349845a105c (patch) | |
tree | 00ac13e7cad5e8bbdc0d22eb4ad9e62c046b93e2 /src/core/PlayerInfo.cpp | |
parent | Port cmake improvements to miami (diff) | |
download | re3-e3a261d29cbb10abc0776ca697512349845a105c.tar re3-e3a261d29cbb10abc0776ca697512349845a105c.tar.gz re3-e3a261d29cbb10abc0776ca697512349845a105c.tar.bz2 re3-e3a261d29cbb10abc0776ca697512349845a105c.tar.lz re3-e3a261d29cbb10abc0776ca697512349845a105c.tar.xz re3-e3a261d29cbb10abc0776ca697512349845a105c.tar.zst re3-e3a261d29cbb10abc0776ca697512349845a105c.zip |
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r-- | src/core/PlayerInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp index 7289175d..f0f3e2c6 100644 --- a/src/core/PlayerInfo.cpp +++ b/src/core/PlayerInfo.cpp @@ -390,8 +390,8 @@ CPlayerInfo::Process(void) m_pPed->SetObjective(OBJECTIVE_ENTER_CAR_AS_PASSENGER, carBelow); } else if (carBelow->IsBoat()) { if (!carBelow->pDriver) { - m_pPed->m_vehEnterType = 0; - m_pPed->SetEnterCar(carBelow, m_pPed->m_vehEnterType); + m_pPed->m_vehDoor = 0; + m_pPed->SetEnterCar(carBelow, m_pPed->m_vehDoor); } } else { m_pPed->SetObjective(OBJECTIVE_ENTER_CAR_AS_DRIVER, carBelow); |