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/vehicles/Train.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 'src/vehicles/Train.cpp')
-rw-r--r-- | src/vehicles/Train.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/Train.cpp b/src/vehicles/Train.cpp index fefe1781..55be4a20 100644 --- a/src/vehicles/Train.cpp +++ b/src/vehicles/Train.cpp @@ -388,7 +388,7 @@ void CTrain::AddPassenger(CPed *ped) { #ifdef GTA_TRAIN - int i = ped->m_vehEnterType; + int i = ped->m_vehDoor; if((i == TRAIN_POS_LEFT_ENTRY || i == TRAIN_POS_MID_ENTRY || i == TRAIN_POS_RIGHT_ENTRY) && pPassengers[i] == nil){ pPassengers[i] = ped; m_nNumPassengers++; |