From cbf44741189ea85b5f50e7b6d861bdcfb750ff79 Mon Sep 17 00:00:00 2001 From: duncanspumpkin Date: Thu, 15 Sep 2016 20:34:33 +0100 Subject: [PATCH] Remove unused global --- src/paint/paint.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/paint/paint.c b/src/paint/paint.c index a0a53adfea..c47e38dc22 100644 --- a/src/paint/paint.c +++ b/src/paint/paint.c @@ -169,7 +169,7 @@ static paint_struct * sub_9819_c(uint32 image_id, rct_xyz16 offset, rct_xyz16 bo ps->attached_ps = NULL; ps->var_20 = NULL; ps->sprite_type = gPaintInteractionType; - ps->var_29 = RCT2_GLOBAL(0x9DE571, uint8); + ps->var_29 = 0; ps->map_x = gPaintMapPosition.x; ps->map_y = gPaintMapPosition.y; ps->mapElement = g_currently_drawn_item; @@ -290,7 +290,7 @@ paint_struct * sub_98196C( ps->attached_ps = NULL; ps->var_20 = NULL; ps->sprite_type = gPaintInteractionType; - ps->var_29 = RCT2_GLOBAL(0x9DE571, uint8); + ps->var_29 = 0; ps->map_x = gPaintMapPosition.x; ps->map_y = gPaintMapPosition.y; ps->mapElement = g_currently_drawn_item;