mirror of https://github.com/OpenRCT2/OpenRCT2.git
Initialize variable for gcc
This commit is contained in:
parent
40dbb9db1f
commit
c063c4dccf
|
@ -1507,7 +1507,7 @@ static void miniature_railway_track_diag_flat(uint8 rideIndex, uint8 trackSequen
|
|||
sint16 supportType = monorail_diag_support_types[direction][trackSequence];
|
||||
|
||||
uint32 floorImage;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset = {0, 0};
|
||||
|
||||
if (supportType != -1) {
|
||||
floorImage = floors[supportType].image_id;
|
||||
|
@ -1580,7 +1580,7 @@ static void miniature_railway_track_diag_25_deg_up(uint8 rideIndex, uint8 trackS
|
|||
bool hasSupports = false;
|
||||
|
||||
uint32 floorImage;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset = {0, 0};
|
||||
|
||||
if (supportType != -1) {
|
||||
floorImage = floors[supportType].image_id;
|
||||
|
@ -1630,7 +1630,7 @@ static void miniature_railway_track_diag_flat_to_25_deg_up(uint8 rideIndex, uint
|
|||
bool hasSupports = false;
|
||||
|
||||
uint32 floorImage;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset = {0, 0};
|
||||
|
||||
sint16 supportType = monorail_diag_support_types[direction][trackSequence];
|
||||
if (supportType != -1) {
|
||||
|
@ -1685,7 +1685,7 @@ static void miniature_railway_track_diag_25_deg_up_to_flat(uint8 rideIndex, uint
|
|||
sint16 supportType = monorail_diag_support_types[direction][trackSequence];
|
||||
|
||||
uint32 floorImage;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset = {0, 0};
|
||||
|
||||
if (supportType != -1) {
|
||||
floorImage = floors[supportType].image_id;
|
||||
|
@ -1748,7 +1748,7 @@ static void miniature_railway_track_diag_25_deg_down(uint8 rideIndex, uint8 trac
|
|||
bool hasSupports = false;
|
||||
|
||||
uint32 floorImage;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset = {0, 0};
|
||||
sint16 supportType = monorail_diag_support_types[direction][trackSequence];
|
||||
|
||||
if (supportType != -1) {
|
||||
|
@ -1810,7 +1810,7 @@ static void miniature_railway_track_diag_flat_to_25_deg_down(uint8 rideIndex, ui
|
|||
|
||||
bool hasSupports = false;
|
||||
uint32 floorImage;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset = {0, 0};
|
||||
sint16 supportType = monorail_diag_support_types[direction][trackSequence];
|
||||
|
||||
if (supportType != -1) {
|
||||
|
@ -1859,7 +1859,7 @@ static void miniature_railway_track_diag_25_deg_down_to_flat(uint8 rideIndex, ui
|
|||
{
|
||||
bool hasSupports = false;
|
||||
uint32 floorImage;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset;
|
||||
rct_xy16 floorBoundSize, floorBoundOffset = {0, 0};
|
||||
sint16 supportType = monorail_diag_support_types[direction][trackSequence];
|
||||
|
||||
if (supportType != -1) {
|
||||
|
|
Loading…
Reference in New Issue