diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-13 13:56:25 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-13 13:56:25 +0100 |
commit | ff057838ec8f2f03b6990a87ca30e85ca45daafb (patch) | |
tree | 38af6623091aed50390109799d7f8b0ea28d2224 /src/core/PlayerInfo.cpp | |
parent | Merge remote-tracking branch 'origin/miami' into lcs (diff) | |
parent | Fix backface culling of cutscene objects (diff) | |
download | re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.gz re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.bz2 re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.lz re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.xz re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.tar.zst re3-ff057838ec8f2f03b6990a87ca30e85ca45daafb.zip |
Diffstat (limited to '')
-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); |