Merge pull request #94 from RohanBhattacharyya/main
Fix LeftStick movement StarClientApplication.cpp
This commit is contained in:
commit
9b3bf5ae82
@ -972,9 +972,9 @@ void ClientApplication::updateRunning(float dt) {
|
||||
config->set("zoomLevel", newZoom);
|
||||
}
|
||||
|
||||
//if (m_controllerLeftStick.magnitudeSquared() > 0.001f)
|
||||
// m_player->setMoveVector(m_controllerLeftStick);
|
||||
//else
|
||||
if (m_controllerLeftStick.magnitudeSquared() > 0.01f)
|
||||
m_player->setMoveVector(m_controllerLeftStick);
|
||||
else
|
||||
m_player->setMoveVector(Vec2F());
|
||||
|
||||
m_voice->setInput(m_input->bindHeld("opensb", "pushToTalk"));
|
||||
|
Loading…
Reference in New Issue
Block a user