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
commitc08f520acf61f85f84e9bdb1dad8172d2c29a48b (patch)
tree5a709fc9741c4803e6ab373af4f5299d4fd95099 /src/train_cmd.cpp
parent5fc7fe9648b8f6c4f2d361e8cc4958ac34402a75 (diff)
downloadopenttd-c08f520acf61f85f84e9bdb1dad8172d2c29a48b.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
}