equal
deleted
inserted
replaced
2266 byte fract_coord_leave; |
2266 byte fract_coord_leave; |
2267 DiagDirection dir; |
2267 DiagDirection dir; |
2268 int length; |
2268 int length; |
2269 |
2269 |
2270 /* this routine applies only to trains in depot tiles */ |
2270 /* this routine applies only to trains in depot tiles */ |
2271 if (v->type != VEH_TRAIN || !IsTileDepotType(tile, TRANSPORT_RAIL)) return VETSB_CONTINUE; |
2271 if (v->type != VEH_TRAIN || !IsDepotTypeTile(tile, TRANSPORT_RAIL)) return VETSB_CONTINUE; |
2272 |
2272 |
2273 /* depot direction */ |
2273 /* depot direction */ |
2274 dir = GetRailDepotDirection(tile); |
2274 dir = GetRailDepotDirection(tile); |
2275 |
2275 |
2276 /* calculate the point where the following wagon should be activated */ |
2276 /* calculate the point where the following wagon should be activated */ |