summaryrefslogtreecommitdiff
path: root/src/train_cmd.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
committerterkhen <terkhen@openttd.org>2010-07-29 14:26:28 +0000
commit88ca183191d781effd96add853e40d37ce3a0233 (patch)
tree9820f95a2ea7ef95bf8c05fbd3c12ecccceb42f8 /src/train_cmd.cpp
parent04242e19cf29aedca783f4657e2c448d40f37420 (diff)
downloadopenttd-88ca183191d781effd96add853e40d37ce3a0233.tar.xz
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
Diffstat (limited to 'src/train_cmd.cpp')
-rw-r--r--src/train_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp
index 4e19212f5..7098c2591 100644
--- a/src/train_cmd.cpp
+++ b/src/train_cmd.cpp
@@ -3639,7 +3639,7 @@ static bool TrainApproachingLineEnd(Train *v, bool signal)
* for other directions, it will be 1, 3, 5, ..., 15 */
switch (v->direction) {
case DIR_N : x = ~x + ~y + 25; break;
- case DIR_NW: x = y; // FALLTHROUGH
+ case DIR_NW: x = y; // FALL THROUGH
case DIR_NE: x = ~x + 16; break;
case DIR_E : x = ~x + y + 9; break;
case DIR_SE: x = y; break;