frm: use fps for motion rate
This commit is contained in:
@@ -13,8 +13,8 @@ namespace TLAC::Components
|
||||
{
|
||||
std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>> converter;
|
||||
std::wstring configPath = converter.from_bytes((TLAC::framework::GetModuleDirectory() + "/config.ini").c_str());
|
||||
float nMotionRate = GetPrivateProfileIntW(L"graphics", L"frm.motion.rate", 500, configPath.c_str());
|
||||
motionSpeedMultiplier = nMotionRate / 100.0f;
|
||||
float nMotionRate = GetPrivateProfileIntW(L"graphics", L"frm.motion.rate", 300, configPath.c_str());
|
||||
motionSpeedMultiplier = nMotionRate / 60.0f;
|
||||
}
|
||||
|
||||
FrameRateManager::~FrameRateManager()
|
||||
|
||||
Reference in New Issue
Block a user