set TrackType on mapelement

This commit is contained in:
Marijn van der Werf committed 2016-09-16 19:43:03 +02:00
1 parent 124905b2a7
commit 820903472e
1 file changed
+1
+1
View File
@@ -452,6 +452,7 @@ bool testTrackElement(uint8 rideType, uint8 trackType, utf8string *error) {
}
uint8 rideIndex = 0;
rct_map_element mapElement = {};
mapElement.properties.track.type = trackType;
g_currently_drawn_item = &mapElement;