diff --git a/CSE/IO/cVehicle.vb b/CSE/IO/cVehicle.vb index 72ffd0c7229f2a5bb1bd55ef22dfc0b9fcc86d91..2255fc773edde23557bf9ddc714a0d5d821b6ee1 100644 --- a/CSE/IO/cVehicle.vb +++ b/CSE/IO/cVehicle.vb @@ -149,7 +149,7 @@ The generic parameters for classes are stored in the GenShape.shp", '' '' Check if vehicle class with the given configuration class is available For i = 0 To GenShape.veh_class.Count - 1 - If GenShape.veh_class(i) = Me.classCode AndAlso CBool(GenShape.veh_conf(i)) = Me.IsRigid Then + If GenShape.veh_class(i) = Me.classCode AndAlso CBool(GenShape.veh_conf(i)) = CBool(Me.configuration) Then Job.fa_pe = GenShape.fa_pe(i) Return End If diff --git a/CSE/IO/input.vb b/CSE/IO/input.vb index 516d735e34c78b9f604a294aaa5d4c731ed4d612..86fc8a38c048f4e08d973d7721d9b798592169b2 100644 --- a/CSE/IO/input.vb +++ b/CSE/IO/input.vb @@ -43,7 +43,7 @@ Public Module input MSCX.longS.Add(Line(5)) MSCX.latE.Add(Line(6)) MSCX.longE.Add(Line(7)) - If Crt.gradient_correction Then MSCX.AltPath.Add(Line(8)) + If Crt.gradient_correction And Not calibration Then MSCX.AltPath.Add(Line(8)) Loop Catch ex As Exception ' Falls kein gültiger Wert eingegeben wurde