mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-21 15:21:15 +00:00
Use enum
This commit is contained in:
parent
5b0d2620b9
commit
0c976c4d8c
@ -607,8 +607,8 @@ MxResult LegoNavController::ProcessKeyboardInput()
|
|||||||
bool2 = TRUE;
|
bool2 = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
MxFloat val = keyFlags & 0x10 ? 1.0f : 4.0f;
|
MxFloat val = keyFlags & LegoInputManager::c_bit5 ? 1.0f : 4.0f;
|
||||||
MxFloat val2 = keyFlags & 0x10 ? 1.0f : 2.0f;
|
MxFloat val2 = keyFlags & LegoInputManager::c_bit5 ? 1.0f : 2.0f;
|
||||||
|
|
||||||
if (!bool1) {
|
if (!bool1) {
|
||||||
m_targetRotationalVel = CalculateNewTargetVel(hMax, m_hMax / 2, m_maxRotationalVel);
|
m_targetRotationalVel = CalculateNewTargetVel(hMax, m_hMax / 2, m_maxRotationalVel);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user