diff --git a/Train.cpp b/Train.cpp index ab2f0517..6c4c2b00 100644 --- a/Train.cpp +++ b/Train.cpp @@ -607,7 +607,7 @@ TTrain::get_state() const { static_cast( mvOccupied->BrakePress ), fHVoltage, { fHCurrent[ ( mvControlled->TrainType & dt_EZT ) ? 0 : 1 ], fHCurrent[ 2 ], fHCurrent[ 3 ] }, - mvOccupied->DistCounter + (float)mvOccupied->DistCounter }; }