Loading
#openttdcoop - Paste
Archives
Trending
Docs
Login
Paste #pap2lf9xm
Wrap
Raw
Revise
// subtype not sub_mode
uint8 road_subtype = GetRoadSubtype(tile);
uint8 tram_subtype = GetTramSubtype(tile);
if (sub_mode == 1) {
// road
if (road_subtype != 0) break;
}
if (sub_mode == 2) {
// tram
if (tram_subtype != 0) break;
}
Comments