diff -r b00756560b9d -r e19fda04e8d3 src/ai/trolly/trolly.cpp --- a/src/ai/trolly/trolly.cpp Sun Jul 29 23:25:17 2007 +0000 +++ b/src/ai/trolly/trolly.cpp Sun Jul 29 23:42:59 2007 +0000 @@ -800,7 +800,7 @@ for (j = DIAGDIR_BEGIN; j < DIAGDIR_END; j++) { TileIndex t = tile + TileOffsByDiagDir(j); - if (IsTileType(t, MP_STREET) && + if (IsTileType(t, MP_ROAD) && GetRoadTileType(t) == ROAD_TILE_DEPOT && IsTileOwner(t, _current_player) && GetRoadDepotDirection(t) == ReverseDiagDir(j)) { @@ -1101,7 +1101,7 @@ CommandCost res; assert(p->ainew.state == AI_STATE_BUILD_DEPOT); - if (IsTileType(p->ainew.depot_tile, MP_STREET) && GetRoadTileType(p->ainew.depot_tile) == ROAD_TILE_DEPOT) { + if (IsTileType(p->ainew.depot_tile, MP_ROAD) && GetRoadTileType(p->ainew.depot_tile) == ROAD_TILE_DEPOT) { if (IsTileOwner(p->ainew.depot_tile, _current_player)) { // The depot is already built p->ainew.state = AI_STATE_BUILD_VEHICLE;