mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
fix sub_679023
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user