From b622706e7cabef9e59aba962ecf3ebc359a2c711 Mon Sep 17 00:00:00 2001 From: Richard Wheeler <2762690+zephyris@users.noreply.github.com> Date: Mon, 26 Jan 2026 17:10:02 +0000 Subject: [PATCH] Fix: 4x zoom 8bpp field fences for object NewGRF incorrectly used 32bpp image --- newgrf/nml/objects/objects-fields.pnml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newgrf/nml/objects/objects-fields.pnml b/newgrf/nml/objects/objects-fields.pnml index 7fb73821..b2783e60 100644 --- a/newgrf/nml/objects/objects-fields.pnml +++ b/newgrf/nml/objects/objects-fields.pnml @@ -24,7 +24,7 @@ template template_objects_farmfences(z) { } replace objects_farmfences(field_fence_start, "../graphics/terrain/64/farm_fences_8bpp.png") { template_objects_farmfences(1) } #32 alternative_sprites(objects_farmfences, ZOOM_LEVEL_NORMAL, BIT_DEPTH_32BPP, "../graphics/terrain/64/farm_fences_bt32bpp.png") { template_objects_farmfences(1) } -#ez alternative_sprites(objects_farmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/terrain/256/farm_fences_8bpp.png") { template_objects_farmfences(4) } +#ez alternative_sprites(objects_farmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "../graphics/terrain/256/farm_fences_8bpp.png") { template_objects_farmfences(4) } #32 #ez alternative_sprites(objects_farmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/terrain/256/farm_fences_bt32bpp.png") { template_objects_farmfences(4) } rail_fence_start = reserve_sprites(1 * 6); @@ -44,7 +44,7 @@ template template_objects_railasfarmfences(z) { } replace objects_railasfarmfences(rail_fence_start, "../graphics/infrastructure/64/rail_fences_8bpp.png") { template_objects_railasfarmfences(1) } #32 alternative_sprites(objects_railasfarmfences, ZOOM_LEVEL_NORMAL, BIT_DEPTH_32BPP, "../graphics/infrastructure/64/rail_fences_rm32bpp.png", "../graphics/infrastructure/64/rail_fences_8bpp.png") { template_objects_railasfarmfences(1) } -#ez alternative_sprites(objects_railasfarmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/infrastructure/256/rail_fences_8bpp.png") { template_objects_railasfarmfences(4) } +#ez alternative_sprites(objects_railasfarmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "../graphics/infrastructure/256/rail_fences_8bpp.png") { template_objects_railasfarmfences(4) } #32 #ez alternative_sprites(objects_railasfarmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/infrastructure/256/rail_fences_rm32bpp.png", "../graphics/infrastructure/256/rail_fences_8bpp.png") { template_objects_railasfarmfences(4) } // no fence