Does this
Index: bauer/wegbauer.cc
===================================================================
--- bauer/wegbauer.cc (revision 2568)
+++ bauer/wegbauer.cc (working copy)
@@ -604,17 +604,19 @@
case str****e:
{
const weg_t *str=to->get_weg(road_wt);
- // we allow connection to any road
- ok = (str || !fundament) && !to->ist_w****er() && check_for_leitung(zv,to);
- if(!ok) {
- return false;
- }
- ok = !to->hat_wege() || check_crossing(zv,to,road_wt,sp);
- if(!ok) {
- const weg_t *sch=to->get_weg(track_wt);
- if(sch && sch->get_besch()->get_styp()==7) {
- ok = true;
+ if((bautyp&elevated_flag)==0) {
+ // we allow connection to any road
+ ok = (str || !fundament) && !to->ist_w****er() && check_for_leitung(zv,to);
+ if(!ok) {
+ return false;
}
+ ok = !to->hat_wege() || check_crossing(zv,to,road_wt,sp);
+ if(!ok) {
+ const weg_t *sch=to->get_weg(track_wt);
+ if(sch && sch->get_besch()->get_styp()==7) {
+ ok = true;
+ }
+ }
}
if(ok) {
const weg_t *from_str=from->get_weg(road_wt);
fix this issues? I can't test it, because I have no elevated road. Maybe there is the same issue for elevated canals (are there any?) - and rivers