1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

fix sub_679023

This commit is contained in:
IntelOrca
2015-07-11 21:58:33 +01:00
parent 9e9eb6a833
commit 48b71782fe

View File

@@ -2358,12 +2358,12 @@ void sub_679023(rct_drawpixelinfo *dpi, int imageId, int x, int y)
if (imageId & 0x80000000) {
index &= 0x1F;
}
int g1Index = RCT2_ADDRESS(0x0097FCBC, uint32)[index] << 4;
int g1Index = RCT2_ADDRESS(0x0097FCBC, uint32)[index];
RCT2_GLOBAL(0x009ABDA4, uint8*) = g1Elements[g1Index].offset;
} else {
RCT2_GLOBAL(0x00EDF81C, uint32) = 0;
sub_679074(dpi, imageId, x, y);
}
sub_679074(dpi, imageId, x, y);
}
/**