summaryrefslogtreecommitdiffstats
path: root/src/entities
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/entities
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/entities')
-rw-r--r--src/entities/Physical.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index 98b86fe3..fbd1322d 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -1897,7 +1897,7 @@ CPhysical::ProcessCollision(void)
CTimer::SetTimeStep(savedTimeStep);
if(IsVehicle()){
CVehicle *veh = (CVehicle*)this;
- if(veh->m_vehType == VEHICLE_TYPE_AUTOMOBILE){
+ if(veh->m_vehType == VEHICLE_TYPE_CAR){
CAutomobile *car = (CAutomobile*)this;
car->m_aSuspensionSpringRatio[0] = 1.0f;
car->m_aSuspensionSpringRatio[1] = 1.0f;