Skip to content

Commit 6cfcfe9

Browse files
committed
2025-01-20
1 parent 35493ca commit 6cfcfe9

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

Source/Orts.Simulation/Simulation/Physics/Train.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3068,13 +3068,6 @@ public virtual bool PostInit()
30683068
if (IsActualPlayerTrain)
30693069
{
30703070
SetTrainSpeedLoggingFlag();
3071-
3072-
3073-
// if debug, print out all passing paths
3074-
3075-
#if DEBUG_DEADLOCK
3076-
Printout_PassingPaths();
3077-
#endif
30783071
}
30793072

30803073
return (validPosition);

Source/Orts.Simulation/Simulation/Timetables/TTTrain.cs

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,11 +1315,6 @@ public override bool PostInit()
13151315
CreateLogFile();
13161316
}
13171317
}
1318-
1319-
// If debug, print out all passing paths
1320-
#if DEBUG_DEADLOCK
1321-
Printout_PassingPaths();
1322-
#endif
13231318
}
13241319

13251320
return validPosition;
@@ -3986,8 +3981,8 @@ public override void UpdateStationState(float elapsedClockSeconds, int presentTi
39863981
}
39873982

39883983
#if DEBUG_REPORTS
3989-
DateTime baseDTd = new DateTime();
3990-
DateTime depTime = baseDTd.AddSeconds(presentTime);
3984+
baseDTd = new DateTime();
3985+
depTime = baseDTd.AddSeconds(presentTime);
39913986

39923987
if (thisStation.ActualStopType == StationStop.STOPTYPE.STATION_STOP)
39933988
{
@@ -9255,10 +9250,6 @@ public override void ProcessEndOfPathReached(ref bool[] returnValue, int present
92559250
}
92569251
}
92579252

9258-
#if DEBUG_REPORTS
9259-
File.AppendAllText(@"C:\temp\printproc.txt", "Train " +
9260-
Number.ToString() + " removed\n");
9261-
#endif
92629253
else if (AttachDetails != null && AttachDetails.Valid)
92639254
{
92649255
if (CheckTrain)

0 commit comments

Comments
 (0)