summaryrefslogtreecommitdiff
path: root/train_cmd.c
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-03-08 19:54:10 +0000
committermatthijs <matthijs@openttd.org>2005-03-08 19:54:10 +0000
commit6a5495f83c431b4b12dc0e5ce4406571aa524577 (patch)
tree7d68f4e80ab28c8986de0bee20322d0bddcad0c9 /train_cmd.c
parentb13879675fb97469e1a9aa883ef0965bfecee2e4 (diff)
downloadopenttd-6a5495f83c431b4b12dc0e5ce4406571aa524577.tar.xz
(svn r1963) - Add: [NPF] Penalty for a red signal that is the last signal on the path.
- Add: [NPF] NPFGetFlag() and NPFSetFlag() to wrap NPF node flag handling
Diffstat (limited to 'train_cmd.c')
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 683022538..99a499765 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -1143,7 +1143,7 @@ static void ReverseTrainDirection(Vehicle *v)
{
TileIndex tile = v->tile;
int t;
- /* Determine the non-diagonal direction in which we will exit this tile */
+ /* Determine the diagonal direction in which we will exit this tile */
t = v->direction >> 1;
if (!(v->direction & 1) && v->u.rail.track != _state_dir_table[t]) {
t = (t - 1) & 3;