Skip to content

Commit e875008

Browse files
committed
Automatic merge of T1.6-139-g6b62c2a7d and 12 pull requests
- Pull request #1082 at 8538170: Allow variable water level in glass gauge - Pull request #1156 at f46d5f2: Fix incorrectly disabled options in train operations window - Pull request #1091 at 492795a: Automatic speed control - Pull request #1122 at 73c47b4: Wagon Size and Centering Controls - Pull request #1124 at e241a0d: Built-in PBL2 brake controller - Pull request #1128 at d116396: Particle Emitter Overhaul - Pull request #1157 at 39cd994: Dynamic brake authorization by TCS - Pull request #1159 at 48c9a63: Skip OR warnings about TSRE-specific token Ruler - Pull request #1163 at 2f9e292: Fix: Crash when using Camera 8 and F9. - Pull request #1164 at 1ad9889: Fix: F9 crashes with a front coupled single steam locomotive by Csantucci. - Pull request #1166 at 51e7f7a: Simplify loading of internal and game textures - Pull request #1167 at 115325f: Fix: RunActivity slow to terminate because of long sleep in Host Process
14 parents dc950d3 + 6b62c2a + 8538170 + f46d5f2 + 492795a + 73c47b4 + e241a0d + d116396 + 39cd994 + 48c9a63 + 2f9e292 + 1ad9889 + 51e7f7a + 115325f commit e875008

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/RunActivity/Viewer3D/Processes/HostProcess.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class HostProcess
6464

6565
private const int DoHostTime = 10000;
6666
private const int SleepTime = 100; // must be short enough for timely termination
67-
private const uint DoHostIntervall = DoHostTime / SleepTime;
67+
private const uint DoHostInterval = DoHostTime / SleepTime;
6868

6969
public HostProcess(Game game)
7070
{
@@ -99,7 +99,7 @@ void HostThread()
9999
Thread.Sleep(SleepTime);
100100
if (State.Terminated)
101101
break;
102-
if (sleepCount % DoHostIntervall == 0)
102+
if (sleepCount % DoHostInterval == 0)
103103
{
104104
if (!DoHost())
105105
return;

0 commit comments

Comments
 (0)