mirror of
https://github.com/halpz/re3.git
synced 2025-04-30 11:27:58 +03:00
fixes
This commit is contained in:
parent
625a43064a
commit
ae523a09a7
5 changed files with 42 additions and 10 deletions
|
@ -2815,7 +2815,11 @@ int8 CRunningScript::ProcessCommands200To299(int32 command)
|
|||
pVehicle->AutoPilot.m_nCarMission = MISSION_CRUISE;
|
||||
pVehicle->bEngineOn = true;
|
||||
pPed->bUsesCollision = false;
|
||||
#ifdef FIX_BUGS
|
||||
AnimationId anim = pVehicle->GetDriverAnim();
|
||||
#else
|
||||
AnimationId anim = pVehicle->bLowVehicle ? ANIM_CAR_LSIT : ANIM_CAR_SIT;
|
||||
#endif
|
||||
pPed->m_pVehicleAnim = CAnimManager::BlendAnimation(pPed->GetClump(), ASSOCGRP_STD, anim, 100.0f);
|
||||
pPed->StopNonPartialAnims();
|
||||
pPed->m_nZoneLevel = CTheZones::GetLevelFromPosition(pPed->GetPosition());
|
||||
|
@ -4009,7 +4013,11 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
|
|||
pPed->SetPedState(PED_DRIVING);
|
||||
pVehicle->m_status = STATUS_PHYSICS;
|
||||
pPed->bUsesCollision = false;
|
||||
#ifdef FIX_BUGS
|
||||
AnimationId anim = pVehicle->GetDriverAnim();
|
||||
#else
|
||||
AnimationId anim = pVehicle->bLowVehicle ? ANIM_CAR_LSIT : ANIM_CAR_SIT;
|
||||
#endif
|
||||
pPed->m_pVehicleAnim = CAnimManager::BlendAnimation(pPed->GetClump(), ASSOCGRP_STD, anim, 100.0f);
|
||||
pPed->StopNonPartialAnims();
|
||||
pPed->m_nZoneLevel = CTheZones::GetLevelFromPosition(pPed->GetPosition());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue