mirror of
https://github.com/halpz/re3.git
synced 2025-07-24 22:19:47 +00:00
Fixed crash when aboarding train
This commit is contained in:
@ -11522,8 +11522,7 @@ void
|
||||
CPed::PedSetInTrainCB(CAnimBlendAssociation* animAssoc, void* arg)
|
||||
{
|
||||
CPed *ped = (CPed*)arg;
|
||||
|
||||
CVehicle* veh = ped->m_pMyVehicle;
|
||||
CTrain *veh = (CTrain*)ped->m_pMyVehicle;
|
||||
|
||||
if (!veh)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user