diff options
author | aap <aap@papnet.eu> | 2021-01-13 13:01:11 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-13 13:01:11 +0100 |
commit | 7c3e43aa2ed659a84a83a50a6d55d36b6ae614ba (patch) | |
tree | 62ec5661820665488efe4b68bc915bc5370aa00c /src/vehicles/Train.cpp | |
parent | Merge branch 'master' of https://github.com/GTAmodding/re3 (diff) | |
download | re3-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 '')
-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 4250f6f4..be546c70 100644 --- a/src/vehicles/Train.cpp +++ b/src/vehicles/Train.cpp @@ -373,7 +373,7 @@ CTrain::TrainHitStuff(CPtrList &list) void CTrain::AddPassenger(CPed *ped) { - 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++; |