From 2237524f7e6a1fde093799e9a7fcbd767c5fd038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Fri, 9 Sep 2016 23:16:34 +0200 Subject: [PATCH] Remove unused addresses These addresses are only ever written to and not read anywhere in decompiled code. Vanilla code seems to still work fine. --- src/paint/paint.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/paint/paint.c b/src/paint/paint.c index 95e5eb736a..38933cec83 100644 --- a/src/paint/paint.c +++ b/src/paint/paint.c @@ -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;