diff options
Diffstat (limited to 'src/pathfind.cpp')
-rw-r--r-- | src/pathfind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathfind.cpp b/src/pathfind.cpp index 9152e88a0..d5f48cde7 100644 --- a/src/pathfind.cpp +++ b/src/pathfind.cpp @@ -660,7 +660,7 @@ start_at: /* Check if this rail is an upwards slope. If it is, then add a penalty. */ if (IsDiagonalTrackdir(track) && IsUphillTrackdir(GetTileSlope(tile, NULL), track)) { - // upwards slope. add some penalty. + /* upwards slope. add some penalty. */ si.cur_length += 4 * DIAG_FACTOR; } |