mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 13:39:01 +00:00
fix
This commit is contained in:
parent
517f0b9189
commit
e6b9c20131
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ CRoadBlocks::GenerateRoadBlocks(void)
|
||||||
pVehicle->bExtendedRange = true;
|
pVehicle->bExtendedRange = true;
|
||||||
if (pVehicle->UsesSiren(pVehicle->GetModelIndex()) && CGeneral::GetRandomNumber() & 1)
|
if (pVehicle->UsesSiren(pVehicle->GetModelIndex()) && CGeneral::GetRandomNumber() & 1)
|
||||||
pVehicle->m_bSirenOrAlarm = true;
|
pVehicle->m_bSirenOrAlarm = true;
|
||||||
if (pVehicle->GetForward().z > 0.94f) {
|
if (pVehicle->GetUp().z > 0.94f) {
|
||||||
CVisibilityPlugins::SetClumpAlpha(pVehicle->GetClump(), 0);
|
CVisibilityPlugins::SetClumpAlpha(pVehicle->GetClump(), 0);
|
||||||
CWorld::Add(pVehicle);
|
CWorld::Add(pVehicle);
|
||||||
pVehicle->bCreateRoadBlockPeds = true;
|
pVehicle->bCreateRoadBlockPeds = true;
|
||||||
|
|
Loading…
Reference in a new issue