mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +00:00
Fixed crash when aboarding train
This commit is contained in:
parent
9fa799522e
commit
3e25726697
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue