set TrackType on mapelement

This commit is contained in:
Marijn van der Werf 2016-08-29 19:58:43 +02:00
parent 124905b2a7
commit 820903472e
1 changed files with 1 additions and 0 deletions

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;