diff --git a/src/window/building/distribution.c b/src/window/building/distribution.c index 089cb3dbd3..38598bfbf1 100644 --- a/src/window/building/distribution.c +++ b/src/window/building/distribution.c @@ -610,11 +610,8 @@ void window_building_draw_primary_product_stockpiling(building_info_context *c) int x = c->x_offset + primary_product_producer_button_stockpiling->x + BLOCK_SIZE * c->width_blocks - 30; int y = c->y_offset + primary_product_producer_button_stockpiling->y + 10; button_border_draw(x, y, 20, 20, data.primary_product_stockpiling_id); - if (building_stockpiling_enabled(building_get(c->building_id))) { - image_draw(assets_get_image_id("UI", "Warehousing"), x + 4, y + 4, COLOR_MASK_NONE, SCALE_NONE); - } else { - image_draw(assets_get_image_id("UI", "Warehousing_off"), x + 4, y + 4, COLOR_MASK_NONE, SCALE_NONE); - } + image_draw(assets_get_image_id("UI", "Warehousing_off"), x + 4, y + 4, building_stockpiling_enabled(building_get(c->building_id)) ? + 0xfff5a46b : COLOR_MASK_NONE, SCALE_NONE); } void window_building_draw_granary(building_info_context *c)