Index: road.h
===================================================================
--- road.h (revision 22654)
+++ road.h (working copy)
@@ -215,6 +215,7 @@
bool IsRoad();
bool IsTram();
+ RoadTypeIdentifier() : basetype(INVALID_ROADTYPE), subtype(INVALID_ROADSUBTYPE) {}
RoadTypeIdentifier(RoadType basetype, RoadSubType subtype) : basetype(basetype), subtype(subtype) {}
explicit RoadTypeIdentifier(uint8 data);
};
Index: road_map.h
===================================================================
--- road_map.h (revision 22654)
+++ road_map.h (working copy)
@@ -643,11 +643,11 @@
}
struct RoadTypeIdentifiers {
- RoadTypeIdentifier road_identifier = RoadTypeIdentifier(INVALID_ROADTYPE, INVALID_ROADSUBTYPE);
- RoadTypeIdentifier tram_identifier = RoadTypeIdentifier(INVALID_ROADTYPE, INVALID_ROADSUBTYPE);
+ RoadTypeIdentifier road_identifier;
+ RoadTypeIdentifier tram_identifier;
/* Creates an INVALID RoadTypeIdentifiers */
RoadTypeIdentifiers() {}
/* Extracts the RoadTypeIdentifiers from the given tile
* @param tile The tile to read the informations from