diff options
author | smatz <smatz@openttd.org> | 2009-01-12 19:49:23 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-01-12 19:49:23 +0000 |
commit | d286e1df4b63b75475b0d3440ce39cb584ebefee (patch) | |
tree | 8c77d129ecd4fb627a8b4d4a72f19c9c608a377e /src/road_cmd.cpp | |
parent | 4c1e61997abbb274c1e1048088936d86a87568c5 (diff) | |
download | openttd-d286e1df4b63b75475b0d3440ce39cb584ebefee.tar.xz |
(svn r15039) -Codechange: fix comments regarding old AI, remove one old AI hack
Diffstat (limited to 'src/road_cmd.cpp')
-rw-r--r-- | src/road_cmd.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/road_cmd.cpp b/src/road_cmd.cpp index 6ed96d653..71f917272 100644 --- a/src/road_cmd.cpp +++ b/src/road_cmd.cpp @@ -923,8 +923,7 @@ static CommandCost ClearTile_Road(TileIndex tile, byte flags) case ROAD_TILE_NORMAL: { RoadBits b = GetAllRoadBits(tile); - /* Clear the road if only one piece is on the tile OR the AI tries - * to clear town road OR we are not using the DC_AUTO flag */ + /* Clear the road if only one piece is on the tile OR we are not using the DC_AUTO flag */ if ((CountBits(b) == 1 && GetRoadBits(tile, ROADTYPE_TRAM) == ROAD_NONE) || !(flags & DC_AUTO)) { RoadTypes rts = GetRoadTypes(tile); CommandCost ret(EXPENSES_CONSTRUCTION); |