Prevent using drawing functions in NO_RCT2 builds

This commit is contained in:
Michał Janiszewski 2016-08-07 23:30:37 +02:00
parent 69404bd394
commit 20781a2922
1 changed files with 2 additions and 0 deletions

View File

@ -1297,6 +1297,7 @@ void track_paint(uint8 direction, int height, rct_map_element *mapElement)
}
}
else {
#ifndef NO_RCT2
TRACK_PAINT_FUNCTION **trackTypeList = (TRACK_PAINT_FUNCTION**)RideTypeTrackPaintFunctionsOld[rideType];
uint32 *trackDirectionList = (uint32*)trackTypeList[trackType];
@ -1311,6 +1312,7 @@ void track_paint(uint8 direction, int height, rct_map_element *mapElement)
rideIndex * sizeof(rct_ride),
trackSequence
);
#endif
}
}