mirror of https://github.com/OpenRCT2/OpenRCT2.git
Prevent using drawing functions in NO_RCT2 builds
This commit is contained in:
parent
69404bd394
commit
20781a2922
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue