mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 11:34:14 +01:00
fixed cargen check
This commit is contained in:
parent
72f342245d
commit
8761763d95
@ -105,7 +105,7 @@ void CCarGenerator::DoInternalProcessing()
|
|||||||
debug("CCarGenerator::DoInternalProcessing - can't find ground z for new car x = %f y = %f \n", m_vecPos.x, m_vecPos.y);
|
debug("CCarGenerator::DoInternalProcessing - can't find ground z for new car x = %f y = %f \n", m_vecPos.x, m_vecPos.y);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (CModelInfo::GetModelInfo(mi)->GetModelType() == VEHICLE_TYPE_BIKE) {
|
if (((CVehicleModelInfo*)CModelInfo::GetModelInfo(mi))->m_vehicleType == VEHICLE_TYPE_BIKE) {
|
||||||
CBike* pBike = new CBike(mi, PARKED_VEHICLE);
|
CBike* pBike = new CBike(mi, PARKED_VEHICLE);
|
||||||
pBike->bIsStanding = true;
|
pBike->bIsStanding = true;
|
||||||
pVehicle = pBike;
|
pVehicle = pBike;
|
||||||
|
Loading…
Reference in New Issue
Block a user