Skip to content

Commit d09f762

Browse files
committed
Fix: 4x zoom 8bpp field fences for object NewGRF incorrectly used 32bpp image
1 parent 09b7be1 commit d09f762

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

newgrf/nml/objects/objects-fields.pnml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ template template_objects_farmfences(z) {
2424
}
2525
replace objects_farmfences(field_fence_start, "../graphics/terrain/64/farm_fences_8bpp.png") { template_objects_farmfences(1) }
2626
#32 alternative_sprites(objects_farmfences, ZOOM_LEVEL_NORMAL, BIT_DEPTH_32BPP, "../graphics/terrain/64/farm_fences_bt32bpp.png") { template_objects_farmfences(1) }
27-
#ez alternative_sprites(objects_farmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/terrain/256/farm_fences_8bpp.png") { template_objects_farmfences(4) }
27+
#ez alternative_sprites(objects_farmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "../graphics/terrain/256/farm_fences_8bpp.png") { template_objects_farmfences(4) }
2828
#32 #ez alternative_sprites(objects_farmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/terrain/256/farm_fences_bt32bpp.png") { template_objects_farmfences(4) }
2929

3030
rail_fence_start = reserve_sprites(1 * 6);
@@ -44,7 +44,7 @@ template template_objects_railasfarmfences(z) {
4444
}
4545
replace objects_railasfarmfences(rail_fence_start, "../graphics/infrastructure/64/rail_fences_8bpp.png") { template_objects_railasfarmfences(1) }
4646
#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) }
47-
#ez alternative_sprites(objects_railasfarmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_32BPP, "../graphics/infrastructure/256/rail_fences_8bpp.png") { template_objects_railasfarmfences(4) }
47+
#ez alternative_sprites(objects_railasfarmfences, ZOOM_LEVEL_IN_4X, BIT_DEPTH_8BPP, "../graphics/infrastructure/256/rail_fences_8bpp.png") { template_objects_railasfarmfences(4) }
4848
#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) }
4949

5050
// no fence

0 commit comments

Comments
 (0)