mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 03:59:00 +00:00
small RoadBlock fix
This commit is contained in:
parent
6537dfe7f1
commit
0f6583560d
1 changed files with 1 additions and 3 deletions
|
@ -80,9 +80,7 @@ CRoadBlocks::GenerateRoadBlockCopsForCar(CVehicle* pVehicle, int32 roadBlockType
|
|||
pCopPed->SetCurrentWeapon(WEAPONTYPE_COLT45);
|
||||
CPedPlacement::FindZCoorForPed(&posForZ);
|
||||
pCopPed->SetPosition(posForZ);
|
||||
CVector vecSavedPos = pCopPed->GetPosition();
|
||||
pCopPed->GetMatrix().SetRotate(0.0f, 0.0f, -HALFPI);
|
||||
pCopPed->GetMatrix().GetPosition() += vecSavedPos;
|
||||
pCopPed->SetOrientation(0.0f, 0.0f, -HALFPI);
|
||||
pCopPed->m_bIsDisabledCop = true;
|
||||
pCopPed->SetIdle();
|
||||
pCopPed->bKindaStayInSamePlace = true;
|
||||
|
|
Loading…
Reference in a new issue