diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-02 19:43:24 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-10-02 19:43:24 +0200 |
commit | 8761763d95484fd8f0a02db0d4d08667a49364d8 (patch) | |
tree | f2f76cc5cc6c88f8952b84d5bff840e8cb863f98 /src | |
parent | Merge pull request #731 from erorcun/miami (diff) | |
download | re3-8761763d95484fd8f0a02db0d4d08667a49364d8.tar re3-8761763d95484fd8f0a02db0d4d08667a49364d8.tar.gz re3-8761763d95484fd8f0a02db0d4d08667a49364d8.tar.bz2 re3-8761763d95484fd8f0a02db0d4d08667a49364d8.tar.lz re3-8761763d95484fd8f0a02db0d4d08667a49364d8.tar.xz re3-8761763d95484fd8f0a02db0d4d08667a49364d8.tar.zst re3-8761763d95484fd8f0a02db0d4d08667a49364d8.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/vehicles/CarGen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicles/CarGen.cpp b/src/vehicles/CarGen.cpp index 97955595..b0fa91a4 100644 --- a/src/vehicles/CarGen.cpp +++ b/src/vehicles/CarGen.cpp @@ -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); 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); pBike->bIsStanding = true; pVehicle = pBike; |