internal static void InitializeRearBogieSectionElement(Train Train, int CarIndex, int SectionIndex, int ElementIndex, int StateIndex) { if (Train.Cars[CarIndex].RearBogie.CarSections.Length == 0) { //Hack: If no bogie objects are defined, just return return; } ObjectManager.InitializeAnimatedObject(ref Train.Cars[CarIndex].RearBogie.CarSections[SectionIndex].Elements[ElementIndex], StateIndex, false, Train.Cars[CarIndex].RearBogie.CurrentlyVisible); }