1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-20 13:09:15 +00:00

(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).

This commit is contained in:
terkhen
2010-07-29 14:26:28 +00:00
parent 04242e19cf
commit 88ca183191
30 changed files with 52 additions and 52 deletions

View File

@@ -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;