summaryrefslogtreecommitdiffstats
path: root/src/entities/Physical.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-07-07 00:36:39 +0200
committereray orçunus <erayorcunus@gmail.com>2019-07-07 00:39:58 +0200
commitee8e16376b4d0fcb199762274946c16b8f42c04f (patch)
tree0aec680fb9460225c18231d26d78b75f522c2592 /src/entities/Physical.cpp
parentGeneral fixes (diff)
parentsome work on vehicles (diff)
downloadre3-ee8e16376b4d0fcb199762274946c16b8f42c04f.tar
re3-ee8e16376b4d0fcb199762274946c16b8f42c04f.tar.gz
re3-ee8e16376b4d0fcb199762274946c16b8f42c04f.tar.bz2
re3-ee8e16376b4d0fcb199762274946c16b8f42c04f.tar.lz
re3-ee8e16376b4d0fcb199762274946c16b8f42c04f.tar.xz
re3-ee8e16376b4d0fcb199762274946c16b8f42c04f.tar.zst
re3-ee8e16376b4d0fcb199762274946c16b8f42c04f.zip
Diffstat (limited to 'src/entities/Physical.cpp')
-rw-r--r--src/entities/Physical.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index b570efd9..14891cd9 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -1858,10 +1858,10 @@ CPhysical::ProcessCollision(void)
CVehicle *veh = (CVehicle*)this;
if(veh->m_vehType == VEHICLE_TYPE_CAR){
CAutomobile *car = (CAutomobile*)this;
- car->m_afWheelSuspDist[0] = 1.0f;
- car->m_afWheelSuspDist[1] = 1.0f;
- car->m_afWheelSuspDist[2] = 1.0f;
- car->m_afWheelSuspDist[3] = 1.0f;
+ car->m_aWheelDist[0] = 1.0f;
+ car->m_aWheelDist[1] = 1.0f;
+ car->m_aWheelDist[2] = 1.0f;
+ car->m_aWheelDist[3] = 1.0f;
}else if(veh->m_vehType == VEHICLE_TYPE_BIKE){
assert(0 && "TODO - but unused");
}