mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2025-02-19 19:42:45 +01:00
small RoadBlock fix
This commit is contained in:
parent
6537dfe7f1
commit
0f6583560d
@ -80,9 +80,7 @@ CRoadBlocks::GenerateRoadBlockCopsForCar(CVehicle* pVehicle, int32 roadBlockType
|
|||||||
pCopPed->SetCurrentWeapon(WEAPONTYPE_COLT45);
|
pCopPed->SetCurrentWeapon(WEAPONTYPE_COLT45);
|
||||||
CPedPlacement::FindZCoorForPed(&posForZ);
|
CPedPlacement::FindZCoorForPed(&posForZ);
|
||||||
pCopPed->SetPosition(posForZ);
|
pCopPed->SetPosition(posForZ);
|
||||||
CVector vecSavedPos = pCopPed->GetPosition();
|
pCopPed->SetOrientation(0.0f, 0.0f, -HALFPI);
|
||||||
pCopPed->GetMatrix().SetRotate(0.0f, 0.0f, -HALFPI);
|
|
||||||
pCopPed->GetMatrix().GetPosition() += vecSavedPos;
|
|
||||||
pCopPed->m_bIsDisabledCop = true;
|
pCopPed->m_bIsDisabledCop = true;
|
||||||
pCopPed->SetIdle();
|
pCopPed->SetIdle();
|
||||||
pCopPed->bKindaStayInSamePlace = true;
|
pCopPed->bKindaStayInSamePlace = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user