Tanksteering improved

This commit is contained in:
ViktorLjung
2014-05-28 20:28:48 +02:00
parent f775864ed2
commit 133473b00e
3 changed files with 40 additions and 9 deletions
+1 -2
View File
@@ -257,13 +257,12 @@ bool Systems::TankSteeringSystem::TankSteeringInputController::OnCommand(const E
if (event.Command == "horizontal")
{
m_Horizontal = val;
m_Vertical = -0.4f;
}
else if (event.Command == "vertical")
{
m_Vertical = -val;
}
else if (event.Command == "handbrake")
{
Handbrake = val > 0;