summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-01-09 22:48:57 +0000
committerrubidium <rubidium@openttd.org>2009-01-09 22:48:57 +0000
commit054787f08252150eac44afe15d413a478b00154a (patch)
tree5a709fc9741c4803e6ab373af4f5299d4fd95099 /src/train_cmd.cpp
parent11822aa8ef242001084b5d59b151b3d60dd39c7d (diff)
downloadopenttd-054787f08252150eac44afe15d413a478b00154a.tar.xz
(svn r14943) -Cleanup: remove some rogue spaces/replace some rogue tabs with spaces
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
}