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 | 26e5ccb60dfa5c25c11f70424d92c66596c0ec70 (patch) | |
tree | 8c77d129ecd4fb627a8b4d4a72f19c9c608a377e /src/road_cmd.cpp | |
parent | 2c89bfbc8167c8808be71d08c918d52d92c5300d (diff) | |
download | openttd-26e5ccb60dfa5c25c11f70424d92c66596c0ec70.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); |