diff --git a/crates/horizon-client/src/graphics.rs b/crates/horizon-client/src/graphics.rs index fbf67f9ad..e74e72476 100644 --- a/crates/horizon-client/src/graphics.rs +++ b/crates/horizon-client/src/graphics.rs @@ -588,6 +588,21 @@ mod tests { } } + #[test] + fn every_preset_keeps_the_animated_textures_on() { + // The Performance preset used to turn them off, which froze the fire, + // the water, the lava and the portals (#2064). + assert!(Graphics::default().animated_textures); + for preset in Preset::ALL { + let mut s = crate::settings::Settings::default(); + apply_preset(preset, &mut s); + assert!( + s.horizon.animated_textures, + "{preset:?} turned the animated textures off" + ); + } + } + #[test] fn automatic_workers_leave_a_core_as_vanilla_does() { let g = Graphics::default();