From 88ca183191d781effd96add853e40d37ce3a0233 Mon Sep 17 00:00:00 2001 From: terkhen Date: Thu, 29 Jul 2010 14:26:28 +0000 Subject: (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/train_cmd.cpp') 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; -- cgit v1.2.3-54-g00ecf