mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-03 18:39:23 +00:00
Oh no, again
This commit is contained in:
parent
6bc448d41d
commit
783c343d11
1 changed files with 4 additions and 4 deletions
|
@ -131,14 +131,14 @@ namespace ml_lme
|
|||
if(m_interactLeft != (l_strength > Settings.HoldThreadhold))
|
||||
{
|
||||
m_interactLeft = (l_strength > Settings.HoldThreadhold);
|
||||
m_inputManager.interactLeftUp |= m_interactLeft;
|
||||
m_inputManager.interactLeftUp |= !m_interactLeft;
|
||||
m_inputManager.interactLeftDown |= m_interactLeft;
|
||||
}
|
||||
m_inputManager.gripLeftValue = 1f - l_strength; // Inversed
|
||||
if(m_gripLeft != (l_strength < Settings.ReleaseThreadhold))
|
||||
{
|
||||
m_gripLeft = (l_strength < Settings.ReleaseThreadhold);
|
||||
m_inputManager.gripLeftUp |= m_gripLeft;
|
||||
m_inputManager.gripLeftUp |= !m_gripLeft;
|
||||
m_inputManager.gripLeftDown |= m_gripLeft;
|
||||
}
|
||||
}
|
||||
|
@ -150,14 +150,14 @@ namespace ml_lme
|
|||
if(m_interactRight != (l_strength > Settings.HoldThreadhold))
|
||||
{
|
||||
m_interactRight = (l_strength > Settings.HoldThreadhold);
|
||||
m_inputManager.interactRightUp |= m_interactRight;
|
||||
m_inputManager.interactRightUp |= !m_interactRight;
|
||||
m_inputManager.interactRightDown |= m_interactRight;
|
||||
}
|
||||
m_inputManager.gripRightValue = 1f - l_strength;
|
||||
if(m_gripRight != (l_strength < Settings.HoldThreadhold))
|
||||
{
|
||||
m_gripRight = (l_strength < Settings.HoldThreadhold);
|
||||
m_inputManager.gripRightUp |= m_gripRight;
|
||||
m_inputManager.gripRightUp |= !m_gripRight;
|
||||
m_inputManager.gripRightDown |= m_gripRight;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue