1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Use 16 bits for gTrackDesignSaveRideIndex throughout

This commit is contained in:
Gymnasiast
2020-10-27 22:02:39 +01:00
parent d58a8d1184
commit 9e17081ee8
2 changed files with 2 additions and 2 deletions

View File

@@ -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;