diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-12 23:16:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 23:16:10 +0200 |
commit | d415c4edd363ba04c415d626c8d5bc1a99d798af (patch) | |
tree | 181d2d67bc625f45cd2926a879571e19a4350f94 /src | |
parent | little CCam cleanup; fix in CWorld sphere test (diff) | |
download | re3-d415c4edd363ba04c415d626c8d5bc1a99d798af.tar re3-d415c4edd363ba04c415d626c8d5bc1a99d798af.tar.gz re3-d415c4edd363ba04c415d626c8d5bc1a99d798af.tar.bz2 re3-d415c4edd363ba04c415d626c8d5bc1a99d798af.tar.lz re3-d415c4edd363ba04c415d626c8d5bc1a99d798af.tar.xz re3-d415c4edd363ba04c415d626c8d5bc1a99d798af.tar.zst re3-d415c4edd363ba04c415d626c8d5bc1a99d798af.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index da321a28..089db1b4 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -7743,7 +7743,7 @@ int8 CRunningScript::ProcessCommands900To999(int32 command) CollectParameters(&m_nIp, 4); CObject* pObject = CPools::GetObjectPool()->GetAt(ScriptParams[0]); assert(pObject); - pObject->SetMoveSpeed(pObject->GetMoveSpeed() + 0.02f * *(CVector*)&ScriptParams[1]); + pObject->SetMoveSpeed(pObject->GetMoveSpeed() + METERS_PER_SECOND_TO_GAME_SPEED * *(CVector*)&ScriptParams[1]); return 0; } case COMMAND_DRAW_SPRITE: |