diff options
author | Sergeanur <s.anureev@yandex.ua> | 2019-10-08 01:19:44 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2019-10-08 01:19:44 +0200 |
commit | 3e2572669713a7d3ec10a47718bc31b56a8914e2 (patch) | |
tree | acb3be96a96a2bfde2b1cd82deb1d1e7bd70889e /src/peds/Ped.cpp | |
parent | Fixing typo for cursor coords (diff) | |
download | re3-3e2572669713a7d3ec10a47718bc31b56a8914e2.tar re3-3e2572669713a7d3ec10a47718bc31b56a8914e2.tar.gz re3-3e2572669713a7d3ec10a47718bc31b56a8914e2.tar.bz2 re3-3e2572669713a7d3ec10a47718bc31b56a8914e2.tar.lz re3-3e2572669713a7d3ec10a47718bc31b56a8914e2.tar.xz re3-3e2572669713a7d3ec10a47718bc31b56a8914e2.tar.zst re3-3e2572669713a7d3ec10a47718bc31b56a8914e2.zip |
Diffstat (limited to 'src/peds/Ped.cpp')
-rw-r--r-- | src/peds/Ped.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index e9ed2103..4488072e 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -11521,9 +11521,8 @@ CPed::PedSetInCarCB(CAnimBlendAssociation *animAssoc, void *arg) void CPed::PedSetInTrainCB(CAnimBlendAssociation* animAssoc, void* arg) { - CPed* ped = (CPed*)arg; - - CVehicle* veh = ped->m_pMyVehicle; + CPed *ped = (CPed*)arg; + CTrain *veh = (CTrain*)ped->m_pMyVehicle; if (!veh) return; |