summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r--src/train_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 1d097f680..354e80cea 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -1606,7 +1606,7 @@ static void MarkTrainAsStuck(Vehicle *v)
if (!HasBit(v->u.rail.flags, VRF_TRAIN_STUCK)) {
/* It is the first time the problem occured, set the "train stuck" flag. */
SetBit(v->u.rail.flags, VRF_TRAIN_STUCK);
- v->load_unload_time_rem = 0;
+ v->load_unload_time_rem = 0;
/* Stop train */
v->cur_speed = 0;
@@ -4359,7 +4359,7 @@ static void TrainLocoHandler(Vehicle *v, bool mode)
SetLastSpeed(v, v->cur_speed);
}
- if (v->progress == 0) v->progress = j; // Save unused spd for next time, if TrainController didn't set progress
+ if (v->progress == 0) v->progress = j; // Save unused spd for next time, if TrainController didn't set progress
}