minor fix

This commit is contained in:
Nikolay Korolev 2020-06-13 00:16:10 +03:00 committed by GitHub
parent 41dac0773f
commit d415c4edd3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: