Brakes working

This commit is contained in:
ViktorLjung
2014-05-19 00:58:48 +02:00
parent f14a83caa8
commit 998ee3cfab
6 changed files with 18 additions and 21 deletions
+2 -9
View File
@@ -94,15 +94,8 @@ void Systems::TankSteeringSystem::TowerSteeringInputController::Update( double d
bool Systems::TankSteeringSystem::TankSteeringInputController::OnCommand(const Events::InputCommand &event)
{
float val;
if(abs(event.Value) < 0.3f)
{
val = 0.f;
}
else
{
val = event.Value;
}
float val = event.Value;
if (event.Command == "horizontal")
{