summaryrefslogtreecommitdiffstats
path: root/src/core/World.cpp
diff options
context:
space:
mode:
authorFilip Gawin <filip.gawin@zoho.com>2019-10-25 18:39:26 +0200
committerFilip Gawin <filip.gawin@zoho.com>2019-10-26 13:05:00 +0200
commit8808e6fdfe5604022a64e72df3ee60d8ed10e9d6 (patch)
tree02a3e0e3dca2f3d52cb45017ad50d627ffec9841 /src/core/World.cpp
parentAudio fixes from Serg (diff)
downloadre3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.gz
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.bz2
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.lz
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.xz
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.tar.zst
re3-8808e6fdfe5604022a64e72df3ee60d8ed10e9d6.zip
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r--src/core/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index 46d36348..5dea09bd 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -793,7 +793,7 @@ CWorld::TestSphereAgainstSectorList(CPtrList &list, CVector spherePos, float rad
*eCol, &ms_testSpherePoint, nil, nil);
if (collidedSpheres != 0 ||
- (e->IsVehicle() && ((CVehicle*)e)->m_vehType == VEHICLE_TYPE_AUTOMOBILE &&
+ (e->IsVehicle() && ((CVehicle*)e)->m_vehType == VEHICLE_TYPE_CAR &&
e->m_modelIndex != MI_DODO && radius + eCol->boundingBox.max.x > distance)) {
return e;
}