summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-13 00:02:11 +0200
committeraap <aap@papnet.eu>2020-04-13 00:20:44 +0200
commit3aae52d220e163243c2ee47fde354687f16acb03 (patch)
tree435ed474802361aca3ac7969bfc5477a729a14c3 /src/entities
parentMerge pull request #409 from erorcun/erorcun (diff)
downloadre3-3aae52d220e163243c2ee47fde354687f16acb03.tar
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.gz
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.bz2
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.lz
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.xz
re3-3aae52d220e163243c2ee47fde354687f16acb03.tar.zst
re3-3aae52d220e163243c2ee47fde354687f16acb03.zip
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;