diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-06-13 00:16:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-13 00:16:10 +0300 |
commit | d415c4edd363ba04c415d626c8d5bc1a99d798af (patch) | |
tree | 181d2d67bc625f45cd2926a879571e19a4350f94 /src/control/Script.cpp | |
parent | 41dac0773f4e3ed2800f038340ddcb5adeee5f99 (diff) |
minor fix
Diffstat (limited to 'src/control/Script.cpp')
-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: |