Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 48e1067e authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

Merge pull request #824 in VECTO/vecto-sim from...

Merge pull request #824 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:ReleaseCandidates/v3.3.6.1898 to master

* commit '9f55d21e':
  fix bug in creating new gearbox file for AT-S from scratch. GUI tries to use vehicle category in order to decide whether TC is used in 1st or 1st and 2nd gear. use 'not truck' as default
parents 7fb76516 9f55d21e
No related branches found
No related tags found
No related merge requests found
......@@ -104,12 +104,8 @@ namespace TUGraz.VectoCommon.Models
case VehicleCategory.RigidTruck:
case VehicleCategory.Tractor:
return true;
case VehicleCategory.CityBus:
case VehicleCategory.InterurbanBus:
case VehicleCategory.Coach:
return false;
default:
throw new ArgumentOutOfRangeException("VehicleCategory", category, null);
return false;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment