summaryrefslogtreecommitdiff
path: root/src/entities
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-13 21:54:25 +0300
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-13 21:54:25 +0300
commit3b0cd93f89a9fea54b155fdae15ec56c6291c2cc (patch)
treee32278de01df4baf561b3966ef239bd045372e60 /src/entities
parent1732f9b5c66ed661e4874de7c32212274b0b1ec0 (diff)
parent0e056a8e01fe82504d65cd73a8c3fec431d08418 (diff)
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Physical.cpp2
-rw-r--r--src/entities/Physical.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp
index faa8a484..9fc77a8c 100644
--- a/src/entities/Physical.cpp
+++ b/src/entities/Physical.cpp
@@ -21,7 +21,7 @@ CPhysical::CPhysical(void)
{
int i;
- fForceMultiplier = 1.0f;
+ m_fForceMultiplier = 1.0f;
m_vecMoveSpeed = CVector(0.0f, 0.0f, 0.0f);
m_vecTurnSpeed = CVector(0.0f, 0.0f, 0.0f);
m_vecMoveFriction = CVector(0.0f, 0.0f, 0.0f);
diff --git a/src/entities/Physical.h b/src/entities/Physical.h
index 1b9f0e02..6fbc3ffd 100644
--- a/src/entities/Physical.h
+++ b/src/entities/Physical.h
@@ -29,7 +29,7 @@ public:
CVector m_vecTurnSpeedAvg;
float m_fMass;
float m_fTurnMass; // moment of inertia
- float fForceMultiplier;
+ float m_fForceMultiplier;
float m_fAirResistance;
float m_fElasticity;
float m_fBuoyancy;