mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 12:03:07 +01:00
fix #3623: initialise _loadedTrackDesignIndex to UNLOADED
This commit is contained in:
@@ -149,6 +149,9 @@ void window_track_list_open(ride_list_item item)
|
||||
_currentTrackPieceDirection = 2;
|
||||
|
||||
_trackDesignPreviewPixels = calloc(4, TRACK_PREVIEW_IMAGE_SIZE);
|
||||
|
||||
_loadedTrackDesign = NULL;
|
||||
_loadedTrackDesignIndex = TRACK_DESIGN_INDEX_UNLOADED;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user