mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-06 01:34:09 +00:00
merge with upstream
This commit is contained in:
commit
ceab73a053
10 changed files with 466 additions and 99 deletions
|
@ -2769,7 +2769,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());
|
||||
|
@ -3711,7 +3715,7 @@ int8 CRunningScript::ProcessCommands400To499(int32 command)
|
|||
CollectParameters(&m_nIp, 2);
|
||||
CPlayerInfo* pPlayer = &CWorld::Players[ScriptParams[0]];
|
||||
if (ScriptParams[1]){
|
||||
if (CReplay::IsPlayingBack() || CTheScripts::DelayMakingPlayerUnsafeThisTime){
|
||||
if (CGame::playingIntro || CTheScripts::DelayMakingPlayerUnsafeThisTime){
|
||||
CTheScripts::CountdownToMakePlayerUnsafe = 50;
|
||||
if (CTheScripts::DelayMakingPlayerUnsafeThisTime)
|
||||
CTheScripts::DelayMakingPlayerUnsafeThisTime--;
|
||||
|
@ -3963,7 +3967,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