mirror of
https://github.com/OpenRCT2/OpenRCT2.git
synced 2025-01-23 19:02:04 -05:00
Use 16 bits for gTrackDesignSaveRideIndex throughout
This commit is contained in:
parent
d58a8d1184
commit
9e17081ee8
2 changed files with 2 additions and 2 deletions
|
@ -5175,7 +5175,7 @@ static void setup_scenery_selection(rct_window* w)
|
|||
while (tool_set(w, WIDX_BACKGROUND, TOOL_CROSSHAIR))
|
||||
;
|
||||
|
||||
gTrackDesignSaveRideIndex = static_cast<uint8_t>(w->number);
|
||||
gTrackDesignSaveRideIndex = w->number;
|
||||
|
||||
track_design_save_init();
|
||||
gGamePaused |= GAME_PAUSED_SAVING_TRACK;
|
||||
|
|
|
@ -35,7 +35,7 @@ Ride gRideList[MAX_RIDES];
|
|||
int16_t gMapSizeUnits;
|
||||
int16_t gMapBaseZ;
|
||||
bool gTrackDesignSaveMode = false;
|
||||
uint8_t gTrackDesignSaveRideIndex = RIDE_ID_NULL;
|
||||
ride_id_t gTrackDesignSaveRideIndex = RIDE_ID_NULL;
|
||||
uint8_t gClipHeight = 255;
|
||||
CoordsXY gClipSelectionA = { 0, 0 };
|
||||
CoordsXY gClipSelectionB = { MAXIMUM_TILE_START_XY, MAXIMUM_TILE_START_XY };
|
||||
|
|
Loading…
Add table
Reference in a new issue