summaryrefslogtreecommitdiffstats
path: root/src/core/PlayerInfo.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-13 13:01:11 +0100
committeraap <aap@papnet.eu>2021-01-13 13:01:11 +0100
commit7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba (patch)
tree62ec5661820665488efe4b68bc915bc5370aa00c /src/core/PlayerInfo.cpp
parentMerge branch 'master' of https://github.com/GTAmodding/re3 (diff)
downloadre3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar
re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.gz
re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.bz2
re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.lz
re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.xz
re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.tar.zst
re3-7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba.zip
Diffstat (limited to 'src/core/PlayerInfo.cpp')
-rw-r--r--src/core/PlayerInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/PlayerInfo.cpp b/src/core/PlayerInfo.cpp
index 07424736..1af8f924 100644
--- a/src/core/PlayerInfo.cpp
+++ b/src/core/PlayerInfo.cpp
@@ -222,8 +222,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);