summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-08-06 23:32:19 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-08-06 23:32:19 +0200
commit4ae4bc94c692d9fe5781d36a7be6ab72803f6162 (patch)
treebacd3caa49fb507ff6d4f3b15b89d4bb85348d5d /src/entities
parentfixed COMMAND_ADD_BLIP_FOR_COORD_OLD (diff)
downloadre3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar
re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.gz
re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.bz2
re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.lz
re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.xz
re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.zst
re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.zip
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Physical.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entities/Physical.h b/src/entities/Physical.h
index 26ef0086..ee75d059 100644
--- a/src/entities/Physical.h
+++ b/src/entities/Physical.h
@@ -115,6 +115,9 @@ public:
m_vecMoveSpeed.y = y;
m_vecMoveSpeed.z = z;
}
+ void SetMoveSpeed(const CVector& speed) {
+ m_vecMoveSpeed = speed;
+ }
const CVector &GetTurnSpeed() { return m_vecTurnSpeed; }
void SetTurnSpeed(float x, float y, float z) {
m_vecTurnSpeed.x = x;