fail
This commit is contained in:
1 parent
d0afa692f5
commit
6ba0d2e6bd
1 file changed
+2
-2
@@ -260,8 +260,8 @@ void CSetPiece::Update(void)
|
|||||||
CCarAI::AddPoliceCarOccupants(pVehicle1);
|
CCarAI::AddPoliceCarOccupants(pVehicle1);
|
||||||
CVehicle* pVehicle2 = TryToGenerateCopCar(m_vSpawn2, m_vTarget2);
|
CVehicle* pVehicle2 = TryToGenerateCopCar(m_vSpawn2, m_vTarget2);
|
||||||
if (!pVehicle2) {
|
if (!pVehicle2) {
|
||||||
CWorld::Remove(pVehicle2);
|
CWorld::Remove(pVehicle1);
|
||||||
delete pVehicle2;
|
delete pVehicle1;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
pVehicle2->SetStatus(STATUS_PHYSICS);
|
pVehicle2->SetStatus(STATUS_PHYSICS);
|
||||||
|
|||||||
Reference in new issue
Block a user