Mercurial > hg > openttd
diff src/train_cmd.cpp @ 15579:5f128be91f59 draft
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
author | terkhen <terkhen@openttd.org> |
---|---|
date | Thu, 29 Jul 2010 14:26:28 +0000 (2010-07-29) |
parents | 683f2dbe75bb |
children | ca959eb5d431 |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3639,7 +3639,7 @@ * 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;