equal
deleted
inserted
replaced
1323 const DrawTrackSeqStruct *drss; |
1323 const DrawTrackSeqStruct *drss; |
1324 bool is_depot = GetRailTileSubtype(ti->tile) == RAIL_SUBTYPE_DEPOT; |
1324 bool is_depot = GetRailTileSubtype(ti->tile) == RAIL_SUBTYPE_DEPOT; |
1325 |
1325 |
1326 if (ti->tileh != SLOPE_FLAT) DrawFoundation(ti, ti->tileh); |
1326 if (ti->tileh != SLOPE_FLAT) DrawFoundation(ti, ti->tileh); |
1327 |
1327 |
1328 if (IsRailWaypoint(ti->tile) && IsCustomWaypoint(ti->tile)) { |
1328 if (IsRailWaypoint(ti->tile)) { |
1329 // look for customization |
1329 // look for customization |
1330 byte stat_id = GetWaypointByTile(ti->tile)->stat_id; |
1330 byte stat_id = GetWaypointByTile(ti->tile)->stat_id; |
1331 const StationSpec *statspec = GetCustomStationSpec(STAT_CLASS_WAYP, stat_id); |
1331 const StationSpec *statspec = GetCustomStationSpec(STAT_CLASS_WAYP, stat_id); |
1332 |
1332 |
1333 if (statspec != NULL) { |
1333 if (statspec != NULL) { |