diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-06 23:32:19 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-06 23:32:19 +0200 |
commit | 4ae4bc94c692d9fe5781d36a7be6ab72803f6162 (patch) | |
tree | bacd3caa49fb507ff6d4f3b15b89d4bb85348d5d /src/entities/Physical.h | |
parent | fixed COMMAND_ADD_BLIP_FOR_COORD_OLD (diff) | |
download | re3-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/Physical.h')
-rw-r--r-- | src/entities/Physical.h | 3 |
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; |