1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Remove unused addresses

These addresses are only ever written to and not read anywhere in
decompiled code. Vanilla code seems to still work fine.
This commit is contained in:
Michał Janiszewski
2016-09-09 23:16:34 +02:00
committed by Ted John
parent c2a6eba1d3
commit 2237524f7e

View File

@@ -121,9 +121,6 @@ static paint_struct * sub_9819_c(uint32 image_id, rct_xyz16 offset, rct_xyz16 bo
int right = left + g1Element->width;
int top = bottom + g1Element->height;
RCT2_GLOBAL(0xF1AD1C, uint16) = left;
RCT2_GLOBAL(0xF1AD1E, uint16) = bottom;
rct_drawpixelinfo * dpi = unk_140E9A8;
if (right <= dpi->x)return NULL;
@@ -274,9 +271,6 @@ paint_struct * sub_98196C(
sint16 right = left + g1Element->width;
sint16 top = bottom + g1Element->height;
RCT2_GLOBAL(0xF1AD1C, sint16) = left;
RCT2_GLOBAL(0xF1AD1E, sint16) = bottom;
rct_drawpixelinfo *dpi = unk_140E9A8;
if (right <= dpi->x) return NULL;